On Dienstag, 5. August 2008, michael@stroeder.com wrote:
This is a multi-part message in MIME format. --------------000504090501070603080100 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit
Pierangelo Masarati wrote:
----- "Michael Ströder" michael@stroeder.com wrote:
Pierangelo Masarati wrote:
Are you sure you're loading the sasl mechs you've compiled for?
That's a typical issue with SASL (see SASL_PATH, in case).
#2 0x405df014 in ?? () from /usr/lib/libldap-2.4.so.2
Hmm, it seems the problem is rather that the LDAP client libs from the
RPM package installed by openSUSE are loaded instead the ones from the
build directory. That's bad. Any way around this when running 'make test'?
LD_LIBRARY_PATH to your just built libs?
Hmm, I don't have a clue what's going on. I tried with my RE24 source tree from which I've successfully built a couple of days ago. I've removed openSUSE packages for OpenLDAP client libs and cyrus-sasl-ldap-auxprop. Still no success. It does not core dump anymore but slapd does not start (see below).
Ciao, Michael.
-------------------------------- snip
Starting test000-rootdse ...
running defines.sh Starting slapd on TCP/IP port 9011... Using ldapsearch to retrieve the root DSE... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ./scripts/test000-rootdse: line 66: kill: (21057) - No such process ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Test failed ./scripts/test000-rootdse failed (exit 255)
[..]
make: *** [test] Error 2
-------------------------------- snip
[..]
slapd starting daemon: listen(ldap://localhost:9011/, 5) failed errno=3D98 (Address alre= ady in use) lt-slapd shutdown: initiated =3D=3D=3D=3D> bdb_cache_release_all lt-slapd destroy: freeing system resources. slapd stopped.
--------------000504090501070603080100--
This might just be another incarnation of ITS#5251 (duplicate results from getaddrinfo()).