|
From: Michael <mi...@st...> - 2002-02-01 13:06:58
|
Jens Vagelpohl wrote: > > >>> import ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/local/lib/python2.1/site-packages/ldap/__init__.py", line 5, > in ? > from _ldap import * > ImportError: liblber.so.2: cannot load shared object file: No such file or > directory > >>> > > i'm on YellowDog linux 2.1 (a redhat 7 clone for mac) with OpenLDAP 2.0.18 > and Python2.1.2. the messages from setup.py build and setup.py compile did > not contain any errors during compilation. > > is it just my setup or is there a problem? this worked fine with the > previous release candidate you put on the sourceforge file list. This seems to be a problem with your OpenLDAP 2 shared libs. Check shared libs with $ ldd [Python lib dir]/site-packages/_ldap.so Make sure you have either configured /etc/ld.so.conf (invoke ldconfig after modifications) to contain directory lib/ of your local OpenLDAP 2 installation or set LD_LIBARY_PATH accordingly. If that does help since your on Mac architecture there might be other subtle problems I don't know of. Ciao, Michael. |