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

From Jim C. Nasby
Subject Re: Threaded python on FreeBSD
Date
Msg-id 20061016032754.GG381@nasby.net
Whole thread Raw
In response to Re: Threaded python on FreeBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Threaded python on FreeBSD
List pgsql-hackers
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).
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: constraints in query plans
Next
From: Jeremy Drake
Date:
Subject: Re: constraints in query plans