467,198 Members | 1,230 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,198 developers. It's quick & easy.

?Incorrect Configure script?

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
  • viewed: 749

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Garrett Albright | last post: by
reply views Thread by Roy Shaw | last post: by
reply views Thread by Christopher De Vries | last post: by
reply views Thread by Samuel M. Smith | last post: by
1 post views Thread by Markus Wollny | last post: by
6 posts views Thread by Kissingfish | last post: by
3 posts views Thread by cosmo_general@yahoo.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.