[Zope] ldap_first_reference ?

Vizitiu, Ciprian CVizitiu@gbif.org
Wed, 16 Jul 2003 19:50:02 +0200


Ok, maybe not really Zope 100% but still: did anybody successfully used
python-ldap with python 2.2 to build a Zope product? I suspect is not really
Zope related but upon startup I get in the Zope console:

2003-07-16T21:43:31 ERROR(200) Zope Could not import Products.Register
Traceback (innermost last):
  File /home/Zope-2.6.1-8080/lib/python/OFS/Application.py, line 541, in
import_product
  File /home/Zope-2.6.1-8080/lib/python/Products/Register/__init__.py, line
1, in ?
  File /home/Zope-2.6.1-8080/lib/python/Products/Register/Register.py, line
6, in ?
    (Object: Products.Register.Participant)
  File /home/Zope-2.6.1-8080/lib/python/Products/Register/LDAPSearch.py,
line 11, in ?
  File ./build/lib.linux-i686-2.2/ldap/__init__.py, line 21, in ?
ImportError: /usr/lib/python2.2/site-packages/_ldap.so: undefined symbol:
ldap_first_reference

This started after in my product I did "import ldap"

It's a RH 9, Zope 2.6 Python 2.2 and python-ldap-2.0.0pre13-1.i386.rpm