Problem compiling Postgresql-7.3.4 + Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johan Barelds

    #1

    Problem compiling Postgresql-7.3.4 + Python

    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=$(E4LD IR)/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_NotImpleme ntedStruct' 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
    -------------

Working...