Both systems have python 2.5 installed. And plpython was working in 8.3
(and I believe 8.4 B1) on both. Any ideas what I'm doing wrong?
Scott
--
Sent via pgsql-general mailing list (pgsql-...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
I tried with the 8.4.0 Debian package and it worked.
Could you start by describing exactly what you entered and the exact output
and error message that came back?
On ubuntu from command line:
> createlang -h localhost -p 5433 plpythonu template1
createlang: language installation failed: ERROR: could not load library
"/opt/postgres/8.4/lib/postgresql/plpython.so": libpython2.3.so.1.0:
cannot open shared object file: No such file or directory
And in sql:
CREATE PROCEDURAL LANGUAGE 'plpythonu' HANDLER plpython_call_handler;
ERROR: could not load library
"/opt/postgres/8.4/lib/postgresql/plpython.so": libpython2.3.so.1.0:
cannot open shared object file: No such file or directory
I won't have access to the windows machine until Monday, but the error
message was the same except 'so' was 'dll'
It looks like it wants Python 2.3 from the error message, I hope that is
not the case.
Perhaps you don't have the right libpython installed at the right place?