[mod_python] can't compile on linux?

Mark Harrison mh at pixar.com
Mon Nov 27 02:00:18 EST 2006

Mark Harrison wrote:
> /usr/bin/ld: /u0/mh/mp2/lib/python2.4/config/libpython2.4.a(abstract.o): 
> relocat
> ion R_X86_64_32 can not be used when making a shared object; recompile 
> with -fPI
> C
> /u0/mh/mp2/lib/python2.4/config/libpython2.4.a: could not read symbols: 
> Bad valu
> e
> collect2: ld returned 1 exit status
> apxs:Error: Command failed with rc=65536

Problem solved... python must be configured with --enable-shared

Sorry for the bother,

Mark Harrison
Pixar Animation Studios

More information about the Mod_python mailing list