?Incorrect Configure script?

C

Christopher Taylor

I'm not sure if this is a problem with python or not.

I'm trying to compile up mod_python to point to /usr/bin/python2.4 (RH
has /usr/bin/python2.3 already installed to I don't want to mess with
/usr/bin/python). When it gets to linking in
/usr/lib/python2.4/config/libpython2.4.a I get the following error:

/usr/bin/ld: /usr/lib/python2.4/config/libpython2.4.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/lib/python2.4/config/libpython2.4.a: could not read symbols: Bad value


I did some poking around and according to Gentoo's website
(http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3)
it appears that this is due to the fact that libpython2.4.a was not
intially built with -fPIC, which it seems is required for AMD64 (so
I'm assuming it's also required for my intel x86_64).

Is this a bug in the configure script for python or did I just not set
something correctly?

Respectfully,
Christopher Taylor
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top