|
From: Steven G. <sg...@wu...> - 2002-03-04 19:55:00
|
You need to make sure that the path to liblber.so.2 is in your LD_LIBRARY_PATH environment variable. So if liblber.so.2 is living in /usr/local/lib, LD_LIBRARY_PATH should at the miniumum look like the following: #echo $LD_LIBRARY_PATH /usr/local/lib ======================= Steven Graham sg...@wu... ======================= On Mon, 4 Mar 2002, Ling Jiang wrote: > 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 > > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |