From: Gabby J. <liz...@ho...> - 2003-10-14 13:38:54
|
I apologize for sending another help request on the infamous ldap_first_reference error but I just can't seem to figure it out even after reading old postings. I am using a RedHat 9.0 system with openldap-2.0.27-8 and python-2.2.2-26. I downloaded python-ldap-2.0.0pre14 and compiled. When I start python and try 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: ldap_first_reference I modified setup.cfg to try all of the following after reading old postings: libs = ldap_r lber sasl2 ssl crypto libs = ldap lber libs = ldap lber resolv libs = ldap_r lber libs = ldap_r ldap I compile python-ldap specifically with the version of python I am 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 references.c and references.lo in libraries/libldap_r/Makefile.in". I didn't try this 'casue I couldn't find 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 contacts mobile phone with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com |