Python-ldap and client-only OpenLDAP

Guillaume Simard guisim at gmail.com
Tue Jun 2 20:35:25 CEST 2009


Hey everyone,
I want to build OpenLDAP and Python-LDAP from source.
However, I can't install Berkeley DB so I installed Open-LDAP with

./configure --disable-slapd --disable-slurpd

I then built and installed Python-LDAP.

However, when I try to import, I get

  File "/usr/local/lib/python2.6/site-packages/ldap/__init__.py", line 22,
in <module>
    from _ldap import *
ImportError: /usr/local/lib/python2.6/site-packages/_ldap.so: undefined
symbol: ber_pvt_opt_on

Does Python-LDAP have any dependencies toward the "server" part of OpenLDAP
?

Any help is most welcome, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20090602/13e5e303/attachment.html>


More information about the python-ldap mailing list