From: jean-marc p. <jea...@ac...> - 2003-10-14 13:51:36
|
Install also openldap openldap-stable-20030709.tgz. Jean-Marc -----Message d'origine----- De : pyt...@li... [mailto:pyt...@li...] De la part de Gabby James Envoy=E9 : mardi 14 octobre 2003 15:38 =C0 : pyt...@li... Objet : (no subject) I apologize for sending another help request on the infamous=20 ldap_first_reference error but I just can't seem to figure it out even after=20 reading old postings. I am using a RedHat 9.0 system with openldap-2.0.27-8 and python-2.2.2-26. =20 I downloaded python-ldap-2.0.0pre14 and compiled. When I start python and try=20 an "import ldap" statement, I get the following error message: Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/ldap/__init__.py", line 21, in ? from _ldap import * ImportError: /usr/lib/python2.2/site-packages/_ldap.so: undefined symbol:=20 ldap_first_reference I modified setup.cfg to try all of the following after reading old postings: libs =3D ldap_r lber sasl2 ssl crypto libs =3D ldap lber libs = =3D ldap lber resolv libs =3D ldap_r lber libs =3D ldap_r ldap I compile python-ldap specifically with the version of python I am=20 interested in: python2.2 setup.py build python2.2 setup.py install I have also seen the following comment "This is likely due to missing=20 references.c and references.lo in libraries/libldap_r/Makefile.in". I didn't try this 'casue I couldn't find=20 the file on my system. Could someone explain this in more detail? Any other thoughs on what is going wrong? Thank you. G.J. _________________________________________________________________ Page a contact=92s mobile phone with MSN Messenger 6.0. Download it now FREE!=20 http://msnmessenger-download.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Python-LDAP-dev mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |