From: Christian W. <cw...@4i...> - 2001-10-02 15:59:27
|
Hi Donald, thank you very much for your help, but everything seem to be on the right place. Also the permissions are correct. As I wrote in a later email, I found some gcc warnings during compilation of the CVS source. Then I compiled the "official" released sources, and I found the same warnings again. Greetings from Berlin, Christian Am Tuesday 02 October 2001 17:24 schrieb don...@ma...: > Christian, > > You need to make sure the python-ldap library is installed correctly. > make sure it's in /usr/lib/python1.5/site-packages/ > > I had a few problems getting it to be found when i started out and ended > up with copies of it all over the place!! But if it's in the above location > it should all be cool (check permissions too). > > Regards > > Donal > > >-- Original Message -- > > From: Christian Wiese <chr...@we...> > > >To: pyt...@li... > >Subject: Problems importing _ldap module > >Date: Tue, 2 Oct 2001 13:09:30 +0200 > > > > > >Hi, > > > >I want to write some python apps for accessing our LDAP server (OpenLDAP > > > >2.0.15 on RedHat 7.1), but I've problems importing the _ldap module. > >I'm using the latest module from Joe Little, which compiles well with > >OpenLDAP 2.0.15 > > > >This is the error message I get from python: > > > >------------------------------------------------------- > > > >Python 1.5.2 (#1, Sep 22 2001, 18:07:47) [GCC 2.96 20000731 (Red Hat > > Linux > > > >7.1 2 on linux-i386 > >Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > > > >>>> import _ldap > > > >Traceback (innermost last): > > File "<stdin>", line 1, in ? > >ImportError: /usr/lib/python1.5/site-packages/_ldapmodule.so: undefined > > > >symbol: ldap_ufn_setfilter > > > > > >------------------------------------------------------- > > > >Does anybody have an idea, for solving this problem ? > > > >Thank you in advance for any help or suggestions, > > > >Best regards, > > > >Christian > > > >_______________________________________________ > >Python-LDAP-dev mailing list > >Pyt...@li... > >https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |