[Zope] Hoy to install LDAP with Zope 2.6.1 and python2.1.3 under
redhat 9.0...
Dieter Maurer
dieter at handshake.de
Thu Sep 25 14:51:00 EDT 2003
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
More information about the Zope
mailing list