Re: Threaded python on FreeBSD

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Threaded python on FreeBSD
Дата
Msg-id 200610160415.k9G4FxY11775@momjian.us
обсуждение исходный текст
Ответ на Re: Threaded python on FreeBSD  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: Threaded python on FreeBSD  ("Marko Kreen" <markokr@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Jeremy Drake
Дата:
Сообщение: Re: constraints in query plans
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: Postgresql Caching