From: Michael <mi...@st...> - 2001-10-02 16:24:19
|
Christian Wiese wrote: > > but if I try > > >>>import ldap > > I get the a similar error message. > [..] > from _ldap import __version__ > ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined symbol: ldap_ufn_setfilter > >>> Yes, there is a import _ldap in ldap.py anyway. It's just a matter of module packaging. The problem is that in the OpenLDAP 2 libs the support for the mainly unused functions *ufn* was dropped. Your build of python-ldap trys to import those old functions which makes me believe that your _ldapmodule.so was built against OpenLDAP 1 libs. Ciao, Michael. |