[mod_python] cannot compile mod_python on 64bit AMD processor

Alec Matusis matusis at yahoo.com
Thu Jul 24 02:48:47 EDT 2008

I am trying to compile mod_python 3.3.1 on an AMD 64bit CPU


This is what I get:


): relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC

/usr/local/encap/python-2.4.1/lib/python2.4/config/libpython2.4.a: could not
read symbols: Bad value

collect2: ld returned 1 exit status

apxs:Error: Command failed with rc=65536


make[1]: *** [mod_python.so] Error 1

make[1]: Leaving directory `/nail/sys/src/mod_python-3.3.1/src'

make: *** [do_dso] Error 2


#uname -a

Linux microtiger #1 SMP 2008-06-07 01:55:22 +0200
x86_64 x86_64 x86_64 GNU/Linux

#gcc --version

gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision


Any help?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080723/e63d3b4d/attachment.html

More information about the Mod_python mailing list