We don't seem to have made any progress on this. Is there someone else who has a machine with these specs that they can test this for us?

FreeBSD 4.11-RELEASE-p10
gcc 2.95.4
x86 SMP

cheers

andrew


Jim C. Nasby wrote:

On Tue, Jul 19, 2005 at 03:53:26PM -0400, Andrew Dunstan wrote:
Do you have any other libpython*.so files on your system?
[EMAIL PROTECTED]:56]~:2>locate libpython
/usr/local/lib/compat/pkg/libpython2.3.so.1
/usr/local/lib/libpython2.4.so
/usr/local/lib/libpython2.4.so.1
/usr/local/lib/python2.4/config/libpython2.4.a
/usr/local/lib/python2.4/config/libpython2.4.so
[EMAIL PROTECTED]:57]~:3>

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

gmake[3]: Entering directory 
`/raid0/buildfarm/buildfarm/HEAD/pgsql.44418/src/pl/plpython'
ccache gcc -O3 -pipe -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-fno-strict-aliasing -g -fpi
c -DPIC -I. -I/usr/local/include/python2.4 -I../../../src/include 
-I/usr/local/include  -c -o pl
python.o plpython.c -MMD
ar cr libplpython.a `lorder plpython.o | tsort`
ranlib libplpython.a
ccache gcc -O3 -pipe -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-fno-strict-aliasing -g -fpi
c -DPIC -shared -Wl,-x,-soname,libplpython.so.0  plpython.o 
-L/usr/local/lib/python2.4/config -L
../../../src/port -L/usr/local/lib -lpython2.4 -lutil -lm -Wl,-R/usr/local/lib/python2.4/config -o libplpython.so.0
rm -f libplpython.so
ln -s libplpython.so.0 libplpython.so
gmake[3]: Leaving directory 
`/raid0/buildfarm/buildfarm/HEAD/pgsql.44418/src/pl/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 ?

[EMAIL PROTECTED]:01]~:14>nm -D /usr/local/lib/libpython2.4.so | grep 
attr_destroy ; nm -D /usr/local/lib/python2.4/config/libpython2.4.so | grep 
attr_destroy
        U pthread_attr_destroy
        U pthread_attr_destroy
[EMAIL PROTECTED]:01]~:15>ldd /usr/local/lib/libpython2.4.so | grep thread ; 
ldd /usr/local/lib/python2.4/config/libpython2.4.so | grep thread
[EMAIL PROTECTED]:01]~:16>

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to