ANN: python-ldap-2.0.0pre20

Marc Petitmermet petitmermet at mat.ethz.ch
Fri Mar 19 11:35:51 CET 2004


> 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.

> Maybe some ancient OpenLDAP libs shipped with your Red Hat systems are  
> used?

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

> Maybe some ancient OpenLDAP libs shipped with your Red Hat systems are  
> used?

this should not be the case with the above setup.

the problem with ldap_whoami_s still persists:

Python 2.1.3 (#1, Feb  3 2004, 11:45:24)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "copyright", "credits" or "license" for more information.
 >>> import ldap
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File  
"/usr/local/python/Python-2.1.3/lib/python2.1/site-packages/ldap/ 
__init__.py", line 21, in ?
     from _ldap import *
ImportError:  
/usr/local/python/Python-2.1.3/lib/python2.1/site-packages/_ldap.so:  
undefined symbol: ldap_whoami_s


> 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

regards,
marc





More information about the python-ldap mailing list