Re: Threaded python on FreeBSD - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Threaded python on FreeBSD
Date
Msg-id 200610160415.k9G4FxY11775@momjian.us
Whole thread Raw
In response to Re: Threaded python on FreeBSD  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Threaded python on FreeBSD
List pgsql-hackers
Jim C. Nasby wrote:
> On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote:
> > "Jim C. Nasby" <jim@nasby.net> writes:
> > > Take a look at the failure output...
> > 
> > > ERROR:  could not load library
> > > "/home/buildfarm/buildfarm/HEAD/inst/lib/postgresql/plpython.so": dlopen
> > > (/home/buildfarm/buildfarm/HEAD/inst/lib/postgresql/plpython.so) failed:
> > > /usr/local/lib/python2.5/config/libpython2.5.so: Undefined symbol
> > > "pthread_attr_destroy"
> > 
> > I suspect the problem here is that the backend isn't linked with
> > -lpthread.  We aren't going to let libpython dictate whether we do so,
> > either...
> 
> Isn't that what --enable-thread-safety does? I know I've made at least
> one test with that enabled (though it may not be the failure I linked
> up-thread).

--enable-thread-safety doesn't add threading to the backend, only libpq
and ecpg.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Jeremy Drake
Date:
Subject: Re: constraints in query plans
Next
From: Shane Ambler
Date:
Subject: Re: Postgresql Caching