undefined symbol

Michael Ströder michael at stroeder.com
Wed Dec 15 20:43:04 CET 2004


Paul Casteels wrote:
 >
 > ImportError: /usr/lib/python2.2/site-packages/_ldap.so: undefined
 > symbol: ldap_passwd

What does

ldd /usr/lib/python2.2/site-packages/_ldap.so

display?

Does it really link the right OpenLDAP libs? I suspect the function 
ldap_passwd is not available in OpenLDAP 2.0.x libs. But then I wonder 
how you managed to compile from source. Did you?

Hmm, you might have several versions of the OpenLDAP libs hanging around 
on your system.

Ciao, Michael.




More information about the python-ldap mailing list