Re: [HACKERS] Threaded python on FreeBSD

2006-10-16 Thread Peter Eisentraut
Marko Kreen wrote: > On 10/16/06, Bruce Momjian <[EMAIL PROTECTED]> wrote: > > Jim C. Nasby wrote: > > > On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote: > > > > I suspect the problem here is that the backend isn't linked > > > > with -lpthread. We aren't going to let libpython dictate >

Re: [HACKERS] Threaded python on FreeBSD

2006-10-16 Thread Marko Kreen
On 10/16/06, Bruce Momjian <[EMAIL PROTECTED]> wrote: Jim C. Nasby wrote: > On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote: > > 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... Fix

Re: [HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Bruce Momjian
Jim C. Nasby wrote: > On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote: > > "Jim C. Nasby" <[EMAIL PROTECTED]> writes: > > > Take a look at the failure output... > > > > > ERROR: could not load library > > > "/home/buildfarm/buildfarm/HEAD/inst/lib/postgresql/plpython.so": dlopen > > > (/

Re: [HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Jim C. Nasby
On Sun, Oct 15, 2006 at 06:19:12PM -0400, Tom Lane wrote: > "Jim C. Nasby" <[EMAIL PROTECTED]> 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

Re: [HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Tom Lane
"Jim C. Nasby" <[EMAIL PROTECTED]> 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

Re: [HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Jim C. Nasby
On Sun, Oct 15, 2006 at 10:39:49PM +0200, Peter Eisentraut wrote: > Jim C. Nasby wrote: > > Currently, the FreeBSD ports make the following change when building > > python: > > > > --- src/pl/plpython/Makefile.orig Fri Nov 19 20:23:01 2004 > > +++ src/pl/plpython/MakefileTue Dec 28 23:32:

Re: [HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Peter Eisentraut
Jim C. Nasby wrote: > Currently, the FreeBSD ports make the following change when building > python: > > --- src/pl/plpython/Makefile.orig Fri Nov 19 20:23:01 2004 > +++ src/pl/plpython/MakefileTue Dec 28 23:32:16 2004 > @@ -9,7 +9,7 @@ > # shared library. Since there is no official way

[HACKERS] Threaded python on FreeBSD

2006-10-15 Thread Jim C. Nasby
Currently, the FreeBSD ports make the following change when building python: --- src/pl/plpython/Makefile.orig Fri Nov 19 20:23:01 2004 +++ src/pl/plpython/MakefileTue Dec 28 23:32:16 2004 @@ -9,7 +9,7 @@ # shared library. Since there is no official way to determine this # (at least n