Hoy to install LDAP with Zope 2.6.1 and python2.1.3 under redhat 9.0...
Hi, I'm trying to use LDAPUserFolder with Zope 2.6.1 and python2.1.3 under RedHat 9.0. (By the way, RedHat 9.0 installed python2.2 too) I installed python-ldap-2.0.Opre13.tar.gz. The result go through /usr/lib/python2.2/site-packages/ld* files and sub directory ldap... I copied /usr/lib/python2.2/site-packages/ld* files and subdirectory ldap to /zope/lib/python2.1/site-packages. (Is it really necessary?) Now if I go to /zope/bin/python and type import _ldap I've got an error message which is: importError /usr/lib/python2.2/site-packages/_ldap.so: undefined symbol:ldap_first_reference I believed /zope/bin/python use /zope/lib/python2.1 but its seems wrong!!! Now I think I have to install an openldap package to resolve ldap_first_reference but I don't know it's name for redhat 9.0... Is there anybody to help me? Thanks. Patrick Gelin
Gelin Patrick wrote at 2003-9-25 11:10 +0200:
... I copied /usr/lib/python2.2/site-packages/ld* files and subdirectory ldap to /zope/lib/python2.1/site-packages. (Is it really necessary?)
Usually, this is a bad idea: extensions developped in "C" (such as "_ldap.so") are Python version dependent.
Now if I go to /zope/bin/python and type import _ldap I've got an error message which is:
importError /usr/lib/python2.2/site-packages/_ldap.so: undefined symbol:ldap_first_reference
I believed /zope/bin/python use /zope/lib/python2.1 but its seems wrong!!!
Did you install Zope from a Redhat package? Then, apparently, they decided to let is use Python 2.2. Zope uses the Python interpreter it is told to use... Dieter
participants (2)
-
Dieter Maurer -
Gelin Patrick