Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   relocation R_X86_64_32 against `a local symbol' can not be used whenmaking a shared object; recompile with -fPIC (http://www.velocityreviews.com/forums/t669937-relocation-r_x86_64_32-against-a-local-symbol-can-not-be-used-whenmaking-a-shared-object-recompile-with-fpic.html)

tkevans 02-11-2009 12:56 AM

relocation R_X86_64_32 against `a local symbol' can not be used whenmaking a shared object; recompile with -fPIC
 
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


All times are GMT. The time now is 09:02 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.