Problem compiling Postgresql-7.3.4 + Python

J

Johan Barelds

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
-------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top