Re: Threaded python on FreeBSD

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Threaded python on FreeBSD
Date: 2006-10-16 04:15:59
Message-ID: 200610160415.k9G4FxY11775@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim C. Nasby wrote:
> On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote:
> > "Jim C. Nasby" <jim(at)nasby(dot)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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2006-10-16 04:41:58 Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8
Previous Message Bruce Momjian 2006-10-16 04:10:42 Re: BUG #2683: spi_exec_query in plperl returns column