On 08/18/2014 08:07 PM, Michael F. Trombley jr. wrote: > /usr/bin/ld: > /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib64/libbz2.a(bzlib.o): > relocation R_X86_64_32S against `BZ2_crc32Table' can not be used when making > a shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib64/libbz2.a: error > adding symbols: Bad value > collect2: error: ld returned 1 exit status > Makefile:480: recipe for target '../../lib/auto/Compress/Raw/Bzip2/Bzip2.so' > failed > make[1]: *** [../../lib/auto/Compress/Raw/Bzip2/Bzip2.so] Error 1 > make[1]: Leaving directory '/sources/perl-5.20.0/cpan/Compress-Raw-Bzip2' > Unsuccessful make(cpan/Compress-Raw-Bzip2): code=512 at make_ext.pl line 561. > makefile:592: recipe for target 'lib/auto/Compress/Raw/Bzip2/Bzip2.so' failed > make: *** [lib/auto/Compress/Raw/Bzip2/Bzip2.so] Error 25
It shouldn't try to link to static library in the first place. You must have done something wrong during the libbz2.so symlink creation. What does "file /usr/lib/libbz2.so" say? -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
