relocation R_X86_64_32 against `a local symbol' can not be used whenmaking a shared object; recompil

T

tkevans

Found a couple of references to this in the newsgroup, but no
solutions.

I'm trying to build libsbml-3.3.0 with python 2.5.4 support on RHEL
5.3. This RedHat distro has python 2.4.5, and libsbml builds ok with
that release.

After building 2.5.4 (./configure CFLAGS=-fPIC , as the error message
suggests), ld still croaks here:

g++ -L../../ -L/usr/local/lib/python2.5/config -shared -o
_libsbml.so libsbml_wrap.o -lsbml -lpython2.5 -lxml2 -lz -lm -lm -lz
-lbz2
/usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a
(abstract.o): relocation R_X86_64_32 against `a local symbol' can not
be used when making a shared object; recompile with -fPIC
/usr/local/lib/python2.5/config/libpython2.5.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status

Help appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top