(no subject)
jean-marc pouchoulon
jean-marc.pouchoulon at ac-montpellier.fr
Tue Oct 14 15:50:59 CEST 2003
Install also openldap openldap-stable-20030709.tgz.
Jean-Marc
-----Message d'origine-----
De : python-ldap-dev-admin at lists.sourceforge.net
[mailto:python-ldap-dev-admin at lists.sourceforge.net] De la part de Gabby
James
Envoyé : mardi 14 octobre 2003 15:38
À : python-ldap-dev at lists.sourceforge.net
Objet : (no subject)
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.
More information about the python-ldap
mailing list