By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,675 Members | 2,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,675 IT Pros & Developers. It's quick & easy.

?Incorrect Configure script?

P: n/a
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
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?

Christopher Taylor
Oct 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.