[Fwd: libldap_r: undefined symbol: ldap_first_reference (ITS#1922)]
Michael Ströder
michael at stroeder.com
Thu Jul 4 16:56:00 CEST 2002
HI!
I filed a bug report for the problems with libldap_r:
http://www.OpenLDAP.org/its/index.cgi?findid=1922
Credits go to Johannes Stezenbach for sorting that out.
Now adding references.c and references.lo in
libraries/libldap_r/Makefile.in makes it possible to build with
this line in setup.cfg:
libs = ldap_r lber sasl
BTW: Make sure to bring your CVS working tree in sync. There are
some changes in there related to using libldap_r.
Verify if everything works after installing:
# python -c "import ldap"
Under Linux you can check with ldd:
# ldd /usr/lib/python2.2/site-packages/_ldap.so
libldap_r.so.2 => /usr/local/openldap2/lib/libldap_r.so.2
(0x4001f000)
liblber.so.2 => /usr/local/openldap2/lib/liblber.so.2
(0x40052000)
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x4005e000)
libldap.so.2 must not be mentioned there!
Mauro, I'd be happy if you also test that on Win32.
Ciao, Michael.
More information about the python-ldap
mailing list