Hi,

I am doing installation of freeswitch with mod_perl module but during compilation i got below error.

********ERROR**************
making all mod_perl
Creating mod_perl.la...
/usr/bin/ld: /usr/local/lib/perl5/5.15.4/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.15.4/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
***********************************************

making all mod_perl
Creating mod_perl.la...
/usr/bin/ld: /usr/local/lib/perl5/5.15.4/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.15.4/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

can anybody please help me to figure out the issue?

Thanks in advance.

Thanks,
Hardik Patel