[python-ldap] Solaris, Python-LDAP, Apache: SEGFAULT due to shared library mismatch?

Michael Ströder michael at stroeder.com
Thu Aug 29 19:46:52 CEST 2013


Steffen Moser wrote:
>  - Python-LDAP 2.4.13 (self-compiled and linked against OpenLDAP 
>    2.4.30)
> 
> Compilation and installation of Python-LDAP worked well, but as soon
> as a Python script actually uses the LDAP connection, the web server
> worker process dies with a "Segmentation Fault". 
> 
> When I deactivate the Apache module "mod_ldap.so", the problem is 
> gone and Python-LDAP seems to run quite fine,

I suspect mod_ldap is using a different flavour/version of libldap. Make sure
python-ldap and Apache's mod_ldap are linked against the very same libldap.

Check with ldd or whatever tool like this is available on Solaris.

Ciao, Michael.

P.S.: Only mailing list subscribers can directly post to the list. Please
subscribe to the (low-traffic) list so I don't have to manually approve your
posting and others can answer/learn as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130829/edc0d0f2/attachment.bin>


More information about the python-ldap mailing list