From: <mi...@st...> - 2003-02-10 15:58:23
|
Allan Streib wrote: > Wondering if anyone has noted the following problem: >=20 > import ldap > from pyPgSQL import libpq > [..] > c =3D libpq.PQconnectdb(host, dbname, user, password) > Segmentation fault. >=20 > This is with pypgsql 2.2 and python-ldap-2.0.0-pre06.=20 Note sure if that helps but please check an old message appended below. > The problem does not occur with python-ldap-2.0.0-pre04. Are you sure that there's not library mix of 2.0.0pre04 and pre06? Watch out for _ldap.so (pre06) and _ldapmodule.so (pre04). You have to=20 remove _ldapmodule.so. Check if you have Ciao, Michael. -------- Original Message -------- Subject: python-ldap and --with-pymalloc Date: Sun, 18 Nov 2001 17:09:17 +0100 From: Michael Str=F6der <mi...@st...> Reply-To: mi...@st... Organization: stroeder.com To: python-ldap-dev <pyt...@li...> HI! It seems that I found the solution why python-ldap was seg faulting with my Python 2.1 installation. It was compiled with configuration option --with-pymalloc. Without this option python-ldap runs fine with Python 2.1.1 and 2.2b2. :-) Can somebody with C knowledge dig into that? At least python-ldap build should failed if the Python interpreter was built with --with-pymalloc. Ciao, Michael. |