Chris Hall <hall(dot)cj(at)verizon(dot)net> writes:
> bash-2.05$ /usr/local/pgsql/bin/createlang plpython template1
> ERROR: Load of file /usr/local/pgsql/lib/plpython.so failed:
> /usr/local/lib/python2.2/config/libpython2.2.so: undefined symbol: openpty
> createlang: language installation failed
What shared library provides openpty() on your system? Is that library
in the dynamic loader's search path?
It might be useful to do
ldd /usr/local/lib/python2.2/config/libpython2.2.so
and see how the library's shared-library references get resolved.
regards, tom lane