Philipp Kraus <philipp.kraus (AT) flashpixx (DOT) de> wrote:
Quote:
we are trying to install under FreeBSD (6.2.p7) Postgresql 8.1, Python
2.4 and plPython. We get by "create language plpythonu" an error: could
not load library "/usr/local/lib/postgresql/plpython.so": dlopen
(/usr/local/lib/postgresql/plpython.so) failed:
/usr/local/lib/python2.4/config/libpython2.4.so: Undefined symbol
"pthread_attr_destroy"
Which config flags must be set before "make install" or which other
options must be set?
Must we compile Python / Postgres thread safe or unsafe? |
This is a known problem - PostgreSQL won't build against a Python
that is built with threading enabled (--with-thread).
Newer Versions of PostgreSQL will give you an error during
configuration.
You will have to use a different Python.
You can tell the PostgreSQL ./configure which Python it should
use by setting the PYTHON environment variable.
Yours,
Laurenz Albe