Re: [GENERAL] plpythonu on 7.4

2005-01-21 Thread Michael Fuhr
On Sat, Jan 22, 2005 at 12:57:37AM -0500, Tom Lane wrote: > [EMAIL PROTECTED] (elein) writes: > > createlang -U postgres 'plpythonu' template1 > > createlang: language installation failed: ERROR: could not load > > library "/usr/local/pgsql74/lib/plpython.so": > > /usr/local/pgsql74/lib/plpyth

Re: [GENERAL] plpythonu on 7.4

2005-01-21 Thread Tom Lane
[EMAIL PROTECTED] (elein) writes: > createlang -U postgres 'plpythonu' template1 > createlang: language installation failed: ERROR: could not load > library "/usr/local/pgsql74/lib/plpython.so": > /usr/local/pgsql74/lib/plpython.so: undefined symbol: PyDict_Copy I'd bet on a python version is

Re: [GENERAL] plpythonu on 7.4

2005-01-21 Thread Mike G.
Is this on fedora or redhat linux? If so a separate rpm must be installed for plpython to function. If you built from source the config script must also include building python. On Fri, Jan 21, 2005 at 10:34:51PM -0700, Michael Fuhr wrote: > On Fri, Jan 21, 2005 at 09:16:27PM -0800, elein wr

Re: [GENERAL] plpythonu on 7.4

2005-01-21 Thread Michael Fuhr
On Fri, Jan 21, 2005 at 09:16:27PM -0800, elein wrote: > createlang: language installation failed: ERROR: could not load > library "/usr/local/pgsql74/lib/plpython.so": > /usr/local/pgsql74/lib/plpython.so: undefined symbol: PyDict_Copy What does "ldd /usr/local/pgsql74/lib/plpython.so" show?

[GENERAL] plpythonu on 7.4

2005-01-21 Thread elein
On a 7.4 installation built --with-python... Python installed is 2.3.4. On createlang, I get the following error: createlang -U postgres 'plpythonu' template1 createlang: language installation failed: ERROR: could not load library "/usr/local/pgsql74/lib/plpython.so": /usr/local/pgsql74/lib/