build and run issues cvs version

Michael Ströder michael at
Thu Feb 28 17:51:02 CET 2002

dennis at wrote:
> warning: build_py: file Lib/ (for module ldap) not found

Simply ignore that. It solely has to do with a brain-dead 
limitation of DistUtils.

> There was no file anywhere in the module I got from cvs.

Yes, that's right.

> I put a file from python-ldap-1.10alpha3 into Lib and was able to 
> build and install.

Don't do that!!!

> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.0/site-packages/ldap/", line 5, in ?
>     from _ldap import *
> ImportError: cannot open shared object file: cannot load shared object 
> file: No such file or directory

Adjust /etc/ or set LD_LIBRARY_PATH to point to the 
directory containing the shared libs of OpenLDAP 2.

Ciao, Michael.

More information about the python-ldap mailing list