In which versions of Zope and Python and what is needed to make LDAPAdapter works? I've tried it with Zope 2.6.1 and Python 2.1 and nothing! And with Zope 2.3.3 and Python 1.5, and nothing either! How could i use Zope 2.3.3 with Python 2.1? with that i'd make LDAPAdapter works? A lot of thanx!
--On Mittwoch, 5. November 2003 11:29 Uhr +0000 Alberto de la Torre Pacheco <atorre@escet.urjc.es> wrote:
In which versions of Zope and Python and what is needed to make LDAPAdapter works?
LDAPUserFolder ???
I've tried it with Zope 2.6.1 and Python 2.1 and nothing!
Why not? If you complain, the complain with a reasonable error descriptioin which includes Python tracebacks etc.
How could i use Zope 2.3.3 with Python 2.1? with that i'd make LDAPAdapter works?
No. -aj
Sorry... this is the error trace when i start zope. ------ 2003-11-05T11:54:52 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /usr/local/Zope-2.6.1-linux2-x86/lib/python/OFS/Application.py, line 541, in import_product File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/__init__.py, line 15, in ? File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 28, in ? (Object: aq_inner) File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 20, in ? (Object: aq_inner) File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/utils.py, line 26, in ? File /usr/local/zope/lib/python2.1/site-packages/ldap/__init__.py, line 21, in ? ImportError: /usr/local/Zope-2.6.1-linux2-x86/lib/python2.1/site-packages/_ldap.so: undefined symbol: ldap_first_reference ------
--On Mittwoch, 5. November 2003 11:57 Uhr +0000 Alberto de la Torre Pacheco <atorre@escet.urjc.es> wrote:
Sorry... this is the error trace when i start zope.
------ 2003-11-05T11:54:52 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /usr/local/Zope-2.6.1-linux2-x86/lib/python/OFS/Application.py, line 541, in import_product File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/__init__.py, line 15, in ? File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 28, in ? (Object: aq_inner) File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 20, in ? (Object: aq_inner) File /usr/local/zope2.6/lib/python/Products/LDAPUserFolder/utils.py, line 26, in ? File /usr/local/zope/lib/python2.1/site-packages/ldap/__init__.py, line 21, in ? ImportError: /usr/local/Zope-2.6.1-linux2-x86/lib/python2.1/site-packages/_ldap.so: undefined symbol: ldap_first_reference ------
The Python bindings are either not compiled or installed properly. Check the mailinglist archives. I remember this issue came up some weeks ago. -ajn
Alberto de la Torre Pacheco wrote at 2003-11-5 11:57 +0000:
... ImportError: /usr/local/Zope-2.6.1-linux2-x86/lib/python2.1/site-packages/_ldap.so: undefined symbol: ldap_first_reference
Your Python LDAP adapter ("_ldap.so") does not fit to your LDAP client libraries: "_ldap.so" expects the LDAP client libraries to define "ldap_first_reference" and they do not define this symbol. Check again for compatibility. -- Dieter
participants (3)
-
Alberto de la Torre Pacheco -
Andreas Jung -
Dieter Maurer