incompatibility with pypgsql?
Michael Ströder
michael at stroeder.com
Mon Feb 10 16:58:15 CET 2003
Allan Streib wrote:
> 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.
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
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öder <michael at stroeder.com>
Reply-To: michael at stroeder.com
Organization: stroeder.com
To: python-ldap-dev <python-ldap-dev at lists.sourceforge.net>
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.
More information about the python-ldap
mailing list