Problem compiling Postgresql-7.3.4 + Python

Johan Barelds mailings at good-it.com
Mon Jan 9 12:56:36 EST 2006


Hi All,

I am trying to compile Postgresql-7.3.4 with the following flags:

../configure --prefix=$(E4LDIR) --with-pgport=5433 --with-python
--with-includes=$(E4LDIR)/include/python2.3-e4l --with-libra
ries=$(E4LDIR)/lib/python2.3-e4l && \
         $(MAKE)

This gives me the following compilation error:
Anyone any clues?
Thanks for any reply!

Grz. Johan Barelds

-------------
/usr/bin/ld: /usr/local/lib/python2.3/config/libpython2.3.a(abstract.o): 
relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used 
when making a shared object; recompile with -fPIC
/usr/local/lib/python2.3/config/libpython2.3.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 `/root/mod_python-3.1.4/src'
make: *** [do_dso] Error 2
-------------




More information about the Python-list mailing list