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

wrong sasl library

I have an RH9 bang-box that was running OL 2.2.5 until this morning. I am rebuilding the db and wanted to take the opportunity to upgrade to 2.2.23 but I'm having trouble.

My configure, make, make depend, make, make test, and make install commands work fine as always, but when I try to run the new server I get this in the logs:

Mar 10 16:28:34 kermit slapd[32042]: slap_sasl_init: SASL library version mismatch: expected 2.1.17, got 2.1.10
Mar 10 16:28:34 kermit slapd[32042]: slapd stopped.
Mar 10 16:28:34 kermit slapd[32042]: connections_destroy: nothing to destroy.

Wrong library, right? Well I know for a fact that cyrus-sasl-2.1.10-4 exists on the system (/usr/lib), and I can't remove it due to dependencies. That's why I built cyrus-sasl 2.1.17 locally myself long ago:

% ls /usr/local/lib
libsasl2.la  libsasl2.so  libsasl2.so.2  libsasl2.so.2.0.17  sasl2

I thought I set the (tcsh) environment right in my initialiazation file:

% setenv | grep FLAGS
LDFLAGS=-L/usr/local/lib/sasl2 -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib
CPPFLAGS=-I/usr/local/include/sasl -I/usr/include -I/usr/local/ssl/include

I've tried a number of different permutations of the above, but no dice. Previously I was able to compile and use 2.2.5 without problem, and I suppose I could go back if I had to, but I don't want to. Any hints as to how I force the use of my local sasl libraries?

Jon Roberts