Re: More buildfarm stuff - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: More buildfarm stuff
Date
Msg-id 42DD5A36.8010305@dunslane.net
Whole thread Raw
In response to Re: More buildfarm stuff  ("Jim C. Nasby" <decibel@decibel.org>)
Responses Re: More buildfarm stuff  ("Jim C. Nasby" <decibel@decibel.org>)
List pgsql-hackers

Jim C. Nasby wrote:

>On Tue, Jul 19, 2005 at 03:11:31PM -0400, Tom Lane wrote:
>  
>
>>"Jim C. Nasby" <decibel@decibel.org> writes:
>>    
>>
>>>http://archives.postgresql.org/pgsql-bugs/2005-07/msg00096.php describes
>>>what I think is causing octopus to fail. What's also interesting is
>>>these patches from the FreeBSD port:
>>>      
>>>
>>None of those patches are necessary; if they were, we'd be seeing the
>>failures at the build stage, not at runtime.
>>    
>>
>
>Anyone have any ideas on why octopus is failing then?
>  
>

The error is:

createlang: language installation failed:  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.4/config/libpython2.4.so:Undefined symbol "pthread_attr_destroy"
 


Some questions:

Do you have any other libpython*.so files on your system?

Please show us the section of the make log that relates to building plpython.

On my FC4 box I see:

[andrew ~]$ nm -D /usr/lib/libpython2.4.so | grep attr_destroy; ldd /usr/lib/libpython2.4.so | grep thread        U
pthread_attr_destroy      libpthread.so.0 => /lib/libpthread.so.0 (0x00921000)
 

What do these show you for /usr/local/lib/python2.4/config/libpython2.4.so ?

cheers

andrew








pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: More buildfarm stuff
Next
From: Michael Fuhr
Date:
Subject: Re: [PATCHES] Patch to fix plpython on OS X