Re: cvs tip broken build for plpython - Mailing list pgsql-hackers

From Tom Lane
Subject Re: cvs tip broken build for plpython
Date
Msg-id 25994.1097473114@sss.pgh.pa.us
Whole thread Raw
In response to Re: cvs tip broken build for plpython  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: cvs tip broken build for plpython
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> The last REL7_4_STABLE build the machine did had this:

> ccache gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes 
> -Wmissing-declarations -fpic -shared -Wl,-soname,libplpython.so.0 
> plpython.o -L../../../src/port  -L/usr/lib/python2.2/config -ldl 
> -lpthread -lutil -lm -lpython2.2   -o libplpython.so.0.0

> So it looks like this is what's missing: -L/usr/lib/python2.2/config ... 
> I see that indeed there is libpython2.2.a in that location.

Yeah, I had just found the same on my machine.  However, what we'd
really *rather* it link to is a libpython.so someplace.  The link
against libpython.a results in copying all of the python interpreter
into plpython.so.

On my FC3 installation, there is a /usr/lib/libpython2.3.so.1.0
... do you have anything comparable?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Speeding up DELETEs on table with FKs ...
Next
From: "Andrew Dunstan"
Date:
Subject: Re: cvs tip broken build for plpython