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 -- http://mail.python.org/mailman/listinfo/python-list