From: jean-marc p. <jea...@ac...> - 2003-09-30 11:41:40
|
Helo , After read mails from archives, I sucessfully install python-ldap on redhat 9. (install tgz of openldap-2.1.22 Modify source with python-ldap_libs.patch ( -libs = ldap_r lber sasl2 ssl crypto +libs = ldap_r ldap lber sasl2 ssl crypto ) before that I have an error messages on import undefined symbol: ldap_first_reference) Now I have a segmentation fault on simple bind >>> import ldap >>> l = ldap.open('ip_address') >>> l.simple_bind_s('','') Erreur de segmentation I install the package on an xp system and it works perfectly. I try to install the package on a debian and I have python setup.py build Traceback (most recent call last): File "setup.py", line 10, in ? from distutils.core import setup, Extension ImportError: No module named distutils.core Any help would be greatly appreciated, especially on RedHat. Jean-Marc Pouchoulon |