Hi Guys, I need to use mod_perl module and to install it, i am doing compilation but getting below error, making all mod_perl Creating mod_perl.la... /usr/bin/ld: /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status cat: .libs/mod_perl.log: No such file or directory make[5]: *** [mod_perl.la] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_perl-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 OS : CentOS release 6.4 (Final) Kernel \r on an \m Please help me to figure out the issue. ----- Thanks, Samir -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-perl-installation-issue-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Do you have 64 bit perl and its devel packages installed? On Sep 25, 2013, at 3:44 AM, Samir Doshi <smrdoshi@gmail.com> wrote:
Hi Guys,
I need to use mod_perl module and to install it, i am doing compilation but getting below error,
making all mod_perl Creating mod_perl.la... /usr/bin/ld: /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status cat: .libs/mod_perl.log: No such file or directory make[5]: *** [mod_perl.la] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_perl-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
OS : CentOS release 6.4 (Final) Kernel \r on an \m
Please help me to figure out the issue.
Yeah it is installed. # rpm -qa | grep perl perl-CPAN-1.9402-131.el6_4.x86_64 perl-DBI-1.609-4.el6.x86_64 perl-DBD-MySQL-4.013-3.el6.x86_64 perl-YAML-0.70-4.el6.noarch perl-Pod-Escapes-1.04-131.el6_4.x86_64 perl-version-0.77-131.el6_4.x86_64 perl-Pod-Simple-3.13-131.el6_4.x86_64 perl-Error-0.17015-4.el6.noarch perl-Git-1.7.1-3.el6_4.1.noarch perl-Test-Harness-3.17-131.el6_4.x86_64 perl-ExtUtils-ParseXS-2.2003.0-131.el6_4.x86_64 perl-ExtUtils-Embed-1.28-131.el6_4.x86_64 perl-libs-5.10.1-131.el6_4.x86_64 perl-Module-Pluggable-3.90-131.el6_4.x86_64 perl-5.10.1-131.el6_4.x86_64 perl-ExtUtils-MakeMaker-6.55-131.el6_4.x86_64 *perl-devel-5.10.1-131.el6_4.x86_64* perl-Digest-SHA-5.47-131.el6_4.x86_64 ----- Thanks, Samir -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-perl-installation-issue-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Ken Rice- Do we have mod_perl building in our packages and do you see similar issues? Mike On Sep 26, 2013, at 2:17 AM, Samir Doshi <smrdoshi@gmail.com> wrote:
Yeah it is installed.
# rpm -qa | grep perl perl-CPAN-1.9402-131.el6_4.x86_64 perl-DBI-1.609-4.el6.x86_64 perl-DBD-MySQL-4.013-3.el6.x86_64 perl-YAML-0.70-4.el6.noarch perl-Pod-Escapes-1.04-131.el6_4.x86_64 perl-version-0.77-131.el6_4.x86_64 perl-Pod-Simple-3.13-131.el6_4.x86_64 perl-Error-0.17015-4.el6.noarch perl-Git-1.7.1-3.el6_4.1.noarch perl-Test-Harness-3.17-131.el6_4.x86_64 perl-ExtUtils-ParseXS-2.2003.0-131.el6_4.x86_64 perl-ExtUtils-Embed-1.28-131.el6_4.x86_64 perl-libs-5.10.1-131.el6_4.x86_64 perl-Module-Pluggable-3.90-131.el6_4.x86_64 perl-5.10.1-131.el6_4.x86_64 perl-ExtUtils-MakeMaker-6.55-131.el6_4.x86_64 *perl-devel-5.10.1-131.el6_4.x86_64* perl-Digest-SHA-5.47-131.el6_4.x86_64
participants (2)
-
Michael Jerris
-
Samir Doshi