25 Sep
2003
25 Sep
'03
6:51 p.m.
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