Since you are using RedHat 8.0.. ReadHat already comes with SASL 2.1.7 installed.. IF you really want to upgrade to a newer version of SASL on RedHat the best option is to install an updated RPM. not compile your own.. as then you end up with dependency problems and duplicate libraries of different versions like you have right now.. goto http://home.teleport.ch/simix/ and download the cyrus-sasl-2.1.15-1.src.rpm and do a rpm --rebuild cyrus-sasl-2.1.15-1.src.rpm as root.. and then rpm -Fvh /usr/src/redhat/RPMS/i386/cyrus-sasl-* when it finishes.. That will upgrade your sasl on your system. On Tue, 2003-09-09 at 11:18, Jochen Laser wrote: > 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) $ > jochen@real:/home/jochen/openldap/openldap-2.1.22/servers/slapd > daemon_init: listen on ldap:/// > daemon_init: 1 listeners to open... > ldap_url_parse_ext(ldap:///) > 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. > root@real:/home/jochen$ > > What's wrong? > > > > Yours: Jochen -- Edward Rudd <eddie@omegaware.com> Home Page <http://urkle.drip.ws/>
Attachment:
signature.asc
Description: This is a digitally signed message part