mod_perl2 and libperl.a and -fPIC...

Peter Losher Peter_Losher at isc.org
Wed Mar 31 00:07:53 PST 2004


I am trying to compile mod_perl2 as a DSO on my amd64 system, and cam
across this error..

-=-
/usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o):
relocation R_X86_64_32S can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad
value
*** Error code 1

Stop in /usr/ports/www/mod_perl2/work/mod_perl-1.99_12/src/modules/perl.
*** Error code 1
-=-

Now as I understand it perl is built w/ -fPIC (even rebuilt the port to be
sure), so is there something else at work here?

Best Wishes - Peter
-- 
Peter_Losher at isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"


More information about the freebsd-amd64 mailing list