problem with python-ldap (it's very impotant please)

walid aoudi aoudiwalid at yahoo.fr
Thu Apr 17 10:30:09 CEST 2003


i installed python 2.1.3 (i already have in my machine
python 1.5 and python 2.1.1)and open-ldap-2.1.17.
i installed python-ldap2.0.0pre07 ,i think it's ok
but when i launch python from the shell i have this :
sh-2.05# python
Python 2.1.3 (#1, Apr 10 2003, 14:04:31) 
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)]
on linux2
Type "copyright", "credits" or "license" for more
information.
>>> import ldap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/usr/local/lib/python2.1/site-packages/ldap/__init__.py",
line 21, in ?
    from _ldap import *
ImportError: /lib/libcrypt.soP: shared object not open
>>> import _ldap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: `&#65533;crypt.so: shared object not open
>>> 
In the other hand when I launch python 2.1 everything
is ok,so i think the problems comes from the fact that
i have 3 versions of python installed on my pc, i
don't want to erase anyone but i would know how to
make python 2.1.3 intercept the python-ldap libraries,
is it with the setup.cfg file ?
please help me 
thanks in advance




More information about the python-ldap mailing list