build and run issues cvs version
michael at stroeder.com
Thu Feb 28 17:51:02 CET 2002
dennis at illusions.com wrote:
> warning: build_py: file Lib/ldap.py (for module ldap) not found
Simply ignore that. It solely has to do with a brain-dead
limitation of DistUtils.
> There was no ldap.py file anywhere in the module I got from cvs.
Yes, that's right.
> I put a ldap.py 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/__init__.py", line 5, in ?
> from _ldap import *
> ImportError: cannot open shared object file: cannot load shared object
> file: No such file or directory
Adjust /etc/ld.so.conf or set LD_LIBRARY_PATH to point to the
directory containing the shared libs of OpenLDAP 2.
More information about the python-ldap