problem with PL/python on postgresql-8.0

Roman Neuhauser neuhauser at sigpipe.cz
Thu Sep 29 09:12:29 PDT 2005


# rcoleman at criticalmagic.com / 2005-09-29 11:55:42 -0400:
> I am trying to get PL/python working on postgresql-8.0.  I'm using the 
> default build for all the ports, with the exception that I've turned on 
> threads in Python.  When I try to add plpythonu to a database using 
> createlang, I get the following error:
> 
> createlang: language installation failed: 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")

    That's in the PostgreSQL FAQ I think... Ummm, no, but check this out:
    http://search.postgresql.org/archives.search?cs=utf-8&fm=on&st=20&dt=back&q=freebsd+python+threads&ul=http%3A%2F%2Farchives.postgresql.org%2Fpgsql-hackers%2F%25&dp=0&o=0&ps=10&s=date

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


More information about the freebsd-python mailing list