incompatibility with pypgsql?

Allan Streib astreib at indiana.edu
Mon Feb 10 16:35:04 CET 2003


Wondering if anyone has noted the following problem:

import ldap
from pyPgSQL import libpq

.
.
.

c = libpq.PQconnectdb(host, dbname, user, password)
Segmentation fault.

This is with pypgsql 2.2 and python-ldap-2.0.0-pre06.  The problem does 
not occur with python-ldap-2.0.0-pre04.

I did a "full featured" build of -pre06 (except for ldap_r) with 
openldap 2.0.23, contrary to the README instructions to use 2.0.26+, so 
that may be the problem.  Odd that it is affecting another library, 
though.

Allan






More information about the python-ldap mailing list