From: Yeargan Y. <ya...@un...> - 2008-01-30 17:17:13
|
That did the trick. It must be a bug in the older python-ldap code =20 that Novell distributes with SLES 10. OpenLDAP 2.3.32 is already =20 there, as well as SASL 2.1.21, so building python-ldap was easy. =20 Since my organization has a support contract with Novell, I will open =20= a support request and let them know of this issue. In case anyone else runs into this, RPM complained about a missing =20 dependency of "libldap.so.2". I'm not sure why, since I can see it =20 in /usr/lib, but I just used the --nodeps parameter to force the =20 install. I also relocated the files listed in the RPM from /usr/local/=20= lib to /usr/lib to replace the files supplied with SLES 10. rpm -Uvh --nodeps --relocate /usr/local/lib/python2.4/=3D/usr/lib/=20 python2.4/ python-ldap-2.3.1-0.i586.rpm Thanks Michael! Sorry to waste your time. Yancey On Jan 30, 2008, at 2:13 AM, Michael Str=F6der wrote: > Yeargan Yancey wrote: >> python-ldap-2.0.11-14.2 > > Sorry, I'm not keen on supporting this ancient version anymore. =20 > This has > been released almost two years ago and I'm sure there were bugs in > there. Any chance you can build 2.3.1 from source? You can generate a > RPM with > > python setup.py bdist_rpm > > and install that. > > But you need to upgrade to OpenLDAP 2.3 for python-ldap too. Maybe it > works to install this packages: > > http://download.opensuse.org/repositories/OpenLDAP/SLE_10/i586/ > > For building python-ldap you'd also need package openldap2-devel (and > cyrus-sasl-devel if SASL support is wanted). > > Ciao, Michael. |