|
Date: 5/6/2008 9:16 pm · Subject: Debian x86_64 Build chokes on Perl Modules... · Rating: 0
I'm building from source (
wre-0.8.3-source.tar.gz) on clean Debian/Etch x86_64 and I err out on the perl modules Net_SSLeay, Crypt_SSLeay, then libapreq2.
First upchuck is Net_SSLeay:
--->
/usr/bin/ld: /data/wre/prereqs/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /data/wre/prereqs/lib/libssl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 WRE ERROR: Net_SSLeay.pm-1.25 make did not complete successfully.
<---
If I comment out Net_SSLeay and "./build.sh --perlmodules" then I get the same complaint about Crypt-SSLeay-0.54:
--->
/usr/bin/ld: /data/wre/prereqs/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /data/wre/prereqs/lib/libssl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Crypt/SSLeay/SSLeay.so] Error 1 WRE ERROR: Crypt-SSLeay-0.54 make did not complete successfully. <---
Comment out Crypt-SSLeay and try again, Burp:
--->
make[1]: Entering directory `/data/src/wrebuild/source/perlmodules/libapreq2-2.08/glue' cd perl; perl Makefile.PL -apxs /data/wre/prereqs/bin/apxs Can't locate ModPerl/MM.pm in @INC (@INC contains: /data/wre/prereqs/lib/perl5/5.8.8/x86_64-linux /data/wre/prereqs/lib/perl5/5.8.8 /data/wre/prereqs/lib/perl5/site_perl/5.8.8/x86_64-linux /data/wre/prereqs/lib/perl5/site_perl/5.8.8 /data/wre/prereqs/lib/perl5/site_perl .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. make[1]: *** [perl/Makefile] Error 2 make[1]: Leaving directory `/data/src/wrebuild/source/perlmodules/libapreq2-2.08/glue' make: *** [all-recursive] Error 1 WRE ERROR: libapreq2 make did not complete successfully. <---
Comment out libapreq and go again and the modules complete normally- so those 3 modules are the headache.
Any help on where to go from here to get a clean compile? Many thanks, very eager to dip a leg in WebGUI.
--- (Edited on 5/6/2008 9:16 pm [GMT-0500] by trent) ---
|