ANN: python-ldap-2.0.0pre20

Michael Ströder michael at stroeder.com
Mon Mar 22 09:56:20 CET 2004


Marc Petitmermet wrote:
>> Please make sure that recent OpenLDAP shared libs are used. You  
>> claimed to have 2.1.23 installed. This should work.
> 
> o.k. compiled and installed the latest version openldap-2.1.25 without  
> errors. then i removed python-ldap from site-package and reinstalled it.

Ok.

> because of our special setup where we need different versions of the  
> same packages i always define the paths in setup.cfg of pyhton-ldap:
> 
> library_dirs = /usr/local/openldap/openldap-2.1.25/lib  
> /usr/local/openssl/openssl-0.9.7d/lib
> include_dirs = /usr/local/openldap/openldap-2.1.25/include  
> /usr/local/openssl/openssl-0.9.7d/include

This is only for the build.

>> Maybe some ancient OpenLDAP libs shipped with your Red Hat systems 
>> are  used?
> 
> this should not be the case with the above setup.

Even with setup.cfg as above you still have to set LD_LIBRARY_PATH or adjust 
/etc/ld.so.conf.

>> What's the output of
>> /usr/local/python/Python-2.1.3/lib/python2.1/site-packages/_ldap.so
> 
> %> /usr/local/python/Python-2.1.3/lib/python2.1/site-packages/_ldap.so
>    Segmentation fault

If invoking

ldd /usr/local/python/Python-2.1.3/lib/python2.1/site-packages/_ldap.so

seg faults your local system setup is really broken.

Ciao, Michael.



More information about the python-ldap mailing list