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

libsasl.so.7: cannot open shared object file



RedHat linux 6.0 or 6.2
openssl-0.9.6
heimdal-0.3c
cyrus-sasl-1.5.24
Berkeley db-3.1.17
openldap-2.0.7

Step:
# ./configure
# make depend
# make
# make test

[root@www openldap-2.0.7]# make test
cd tests; make test
make[1]: Entering directory `/usr/local/openldap-2.0.7/tests'
ln: ./data: File exists
make[1]: [test-ldbm] Error 1 (ignored)
ln: ./schema: File exists
make[1]: [test-ldbm] Error 1 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: /my/ldap/openldap-2.0.7/tests
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh /my/ldap/openldap-2.0.7/tests ldbm
Datadir is /my/ldap/openldap-2.0.7/tests/data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
kill: (23416) - No such pid
./clients/tools/ldapsearch: error in loading shared libraries: libsasl.so.7: cannot open shared object file: No such file or directory
>>>>> Test failed
>>>>> /my/ldap/openldap-2.0.7/tests/scripts/test000-rootdse failed (exit 127)
make[1]: *** [test-ldbm] Error 127
make[1]: Leaving directory `/usr/local/openldap-2.0.7/tests'
make: *** [test] Error 2


I found libsasl.so.7 in /usr/local/lib.
Test succeeded, when I removed files of cyrus-sasl-1.5.24 from /usr/local/lib and /usr/local/include
How to successfully make test with cyrus-sasl-1.5.24?
Thanks for your suggest.

xu