Following traceback on both Python 2.7 and pypy-nightly - under Ubuntu Natty with postgresql 8.4.
import psycopg2ct
Traceback (most recent call last):
File "", line 1, in
File "psycopg2ct/init.py", line 5, in
from psycopg2ct import extensions
File "psycopg2ct/extensions.py", line 5, in
from psycopg2ct import libpq
File "psycopg2ct/libpq.py", line 94, in
PQescapeLiteral = libpq.PQescapeLiteral
File "/home/michael/canonical/payments/pypy/lib-python/modified-2.7/ctypes/init.py", line 368, in getattr
func = self.getitem(name)
File "/home/michael/canonical/payments/pypy/lib-python/modified-2.7/ctypes/init.py", line 373, in getitem
func = self._FuncPtr((name_or_ordinal, self))
File "/home/michael/canonical/payments/pypy/lib_pypy/_ctypes/function.py", line 250, in init
ptr = self._getfuncptr([], ctypes.c_int)
File "/home/michael/canonical/payments/pypy/lib_pypy/_ctypes/function.py", line 413, in _getfuncptr
self._ptr = cdll.getfunc(self.name, ffi_argtypes, ffi_restype)
AttributeError: No symbol PQescapeLiteral found in library /usr/lib/libpq.so
Following traceback on both Python 2.7 and pypy-nightly - under Ubuntu Natty with postgresql 8.4.