[Zope] problem with python-ldap compiling

Encolpe Degoute edegoute at nuxeo.com
Mon Jan 12 11:59:44 EST 2004


Hi,
when I compile python-ldap for the zope binary python on redhat 8.0
I obtain this error:

zope at plop:python-ldap-2.0.0pre13/> ../../../../bin/python
Python 2.1.3 (#1, Sep 19 2002, 13:15:46)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import ldap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "ldap.py", line 2, in ?
ImportError: /home/zope/Zope/lib/python2.1/site-packages/_ldap.so: undefined symbol: ldap_first_reference
>>> import ldap
>>> dir(ldap)
['__builtins__', '__doc__', '__file__', '__name__']

The problem of ldap_first_reference appears in zope-cmf archive of July 2003, but the only solution given was to recompile openldap...
http://zope.org/Members/barryp/win32_ldap give another solution but only for win32 (python21_ldap.pyd).
What's new now?

On debian I have no problems.




More information about the Zope mailing list