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

Discussion in 'Python' started by tkevans, Feb 11, 2009.

  1. tkevans

    tkevans Guest

    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
    tkevans, Feb 11, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    378
  2. ara howard
    Replies:
    1
    Views:
    204
  3. Iñaki Baz Castillo
    Replies:
    7
    Views:
    161
    Iñaki Baz Castillo
    Feb 8, 2011
  4. Replies:
    0
    Views:
    331
  5. Replies:
    2
    Views:
    392
    Sherm Pendley
    Apr 19, 2006
Loading...

Share This Page