Subject: | compile error on x86_64 |
The Text-BibTeX distribution does not compile on the x86_64 platform:
$ make
[gcc output]
rm -f blib/arch/auto/Text/BibTeX/BibTeX.so
cc -shared -O2 -g -L/usr/local/lib BibTeX.o btxs_support.o -o
blib/arch/auto/Text/BibTeX/BibTeX.so btparse/src/.libs/libbtparse.a \
\
/usr/bin/ld: btparse/src/.libs/libbtparse.a(init.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
btparse/src/.libs/libbtparse.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Text/BibTeX/BibTeX.so] Error 1
See this CPAN testers report for the full compiler output:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2410732.html
Thanks, Frank