2) whre did you install it?
I moved /usr/lib/sasl to /usr/lib/sasl_,
and made /usr/lib/sasl a symlink to /usr/local/lib/sasl
3) do you have any other cyrus-sasl version installed which might
be detected instead of the one you want to be installed?
I tried to move it out of the way (above)
4) did you look at config.log to see what triggered the error?
no, but now I'm not having any luck when I leave our sasl...
# ./configure --prefix=/usr/test --with-cyrus-sasl=no
. . .
# make test
cd tests; make test
make[1]: Entering directory `/usr/local/src/openldap-2.2.13/tests'
make[2]: Entering directory `/usr/local/src/openldap-2.2.13/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> 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: kill: (27864) - No such process
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/usr/local/src/openldap-2.2.13/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/src/openldap-2.2.13/tests'
make: *** [test] Error 2
[root@m4861 openldap-2.2.13]#