[Date Prev][Date Next] [Chronological] [Thread] [Top]

make test problem - SASL version mismatch



Hi All,

This is my first attempt at building OpenLDAP.  I followed the
installation instructions and everything seems to build okay, but when I try to do
"make test", I get the error below.  I've searched the archive and have tried
all of the suggestions that I could find.  I have checked the master.log
and it shows that
slap_sasl_init: SASL version mismatch, got 201000a, wanted 201000d.
is causing the problem (see full text below), but I'm at a loss on how to
fix this problem.

Any suggestions?


System:
RH Linux 9.0

Software
openldap 2.1.17
openssl 0.9.7b
BDB 4.1.25
cysrus-sasl 2.1.13

Environment
export  CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include
-I/usr/local/include/openssl  -I/usr/local/include/sasl"

export  LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib -L/usr/lib/sasl2"

export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.1/lib:\
/usr/local/include/openssl:\
/usr/local/include/sasl

./configure --with-tls

RedHat does have older versions of this software installed in /usr, but
I've installed all of the new software /usr/local.  I don't want to remove
the original rpm's because there may be other software dependencies on these
older versions of the software.


Thanks,

Kevin Newman


======== ERROR ========
cd tests; make test
make[1]: Entering directory `/data/downloads/openldap-2.1.17/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-bdb] Error 1 (ignored)
Initiating LDAP tests for BDB...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
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 57: kill: (24720) - No such process
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Leaving directory `/data/downloads/openldap-2.1.17/tests'
make: *** [test] Error 2


=== master.log ====
@(#) $OpenLDAP: slapd 2.1.17 (Apr 26 2003 17:56:50) $
        root@ctsdev02:/data/downloads/openldap-2.1.17/servers/slapd
daemon_init: ldap://localhost:9009/
daemon_init: listen on ldap://localhost:9009/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9009/)
daemon: initialized ldap://localhost:9009/
daemon_init: 1 listeners opened
slapd init: initiated server.
slap_sasl_init: SASL version mismatch, got 201000a, wanted 201000d.
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.