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

Yet Another SASL Version mismatch

 Hi all

This has been mentioned several times on the list, but i found no
solution in the archive.

System is Redhat 8.0 
I compiled cyrus sasl 2.1.15    (Latest Version of cyrus-sasl  )
and installed it with prefix /opt/avci.

Aditionally I linked /opt/avci/lib/sasl2 to /usr/lib (as suggested during sasl Installation):

 jochen@real:~/openldap$ ls -l /usr/lib/sasl2
 lrwxrwxrwx    1 root     root           20 Sep  9 18:50 /usr/lib/sasl2 -> /opt/avci/lib/sasl2/

Then I compiled openldap and installed it with prefix /opt/avci.
ldd on slapd shows up like this (which seemed OK for me):

jochen@real:~/openldap$ ldd /opt/avci/libexec/slapd 
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40027000)
        libsasl2.so.2 => /opt/avci/lib/libsasl2.so.2 (0x40055000)
        libssl.so.2 => /lib/libssl.so.2 (0x40067000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x40097000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4016b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4017d000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40180000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) 

But on startup slapd fails with a "sasl version mismath", like that:

 root@real:/home/jochen$ /opt/avci/libexec/slapd -d1
 @(#) $OpenLDAP: slapd 2.1.22 (Sep  9 2003 18:15:48) $
 daemon_init: listen on ldap:///
 daemon_init: 1 listeners to open...
 daemon: socket() failed errno=97 (Address family not supported by protocol)
 daemon: initialized ldap:///
 daemon_init: 2 listeners opened
 slapd init: initiated server.
 slap_sasl_init: SASL version mismatch, got 2010007, wanted 201000f.
 slapd shutdown: freeing system resources.
 slapd stopped.
 connections_destroy: nothing to destroy.

 What's wrong?

 Yours: Jochen