build and run issues cvs version

dennis at illusions.com dennis at illusions.com
Thu Feb 28 08:27:08 CET 2002


Hi,

two issues with code from cvs as of 2/28/02. First, python setup.py build 
complained about:

warning: build_py: file Lib/ldap.py (for module ldap) not found

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

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

However, when I try to import ldap or _ldap I get denied:

$ python
Python 2.0.1 (#1, Jun 24 2001, 18:39:34)
[GCC 2.95.3 20010315 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import ldap
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
>>> import _ldap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: cannot open shared object file: cannot load shared object 
file: No such file or directory
>>>


-- 
---
Dennis Sacks
dennis at illusions.com
"Things are falling down on me, heavy things I could not see"






More information about the python-ldap mailing list