run time problem with python-ldap-2.0.0pre04

Ling Jiang ljiang at agere.com
Mon Mar 4 19:38:01 CET 2002


Could you please point out what I am missing?
In python, when you run import ldap, you get the error message similar 
to the following. I put the test code (from README) to test.py and the 
following is what I got:

Traceback (most recent call last):
  File "/tmp/test.py", line 2, in ?
    import ldap
  File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", line 
5, in ?
    from _ldap import *
ImportError: ld.so.1: /usr/local/bin/python: fatal: liblber.so.2: open 
failed: No such file or directory

OS: Solaris 2.6
Platform: sun4u sparc SUNW,Ultra-4
openssl:    0.9.6 24 Sep 2000
OpenLDAP: 2.0.23 (openldap-stable-20020215.tgz)
Python: 2.1.1

Thanks.

L Jiang





More information about the python-ldap mailing list