[Zope] ldap_first_reference ?

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Wed, 16 Jul 2003 19:52:50 +0200


I recommend to compile openldap and python-ldap on your own. At least
the OpenLDAP rpms of RH9 are somehow borked.

-aj

--On Mittwoch, 16. Juli 2003 19:50 Uhr +0200 "Vizitiu, Ciprian" 
<CVizitiu@gbif.org> wrote:

>
> 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
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )