[Date Prev][Date Next]
Re: make test is failing- help needed pls
Your build is missing the proper LDFLAGS for the run-time loader to locate
your sasl library. Use (likely) the LD_LIBRARY_PATH environment variable
to test this theory (by pointing to the directory containing libsasl.so.7).
You can stay with LD_LIBRARY_PATH as a permanent fix, or recompile with the
proper flags to set the path in the binary (eg. -R or -rpath).
> I have build successfully with make but now my make test is failing, pls
> help me :
> >make test
> cd tests; make test
> ln: cannot create ./data: File exists
> ln: cannot create ./schema: File exists
> Initiating LDAP tests for LDBM...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: ldbm
> >>>>> Starting test000-rootdse ...
> running defines.sh . ldbm
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve all the entries...
> 10687 Killed
> ./scripts/test000-rootdse: kill: no such process
> ld.so.1: ../clients/tools/ldapsearch: fatal: libsasl.so.7: open failed: No
> such file o
> r directory
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 137)
> *** Error code 137
> make: Fatal error: Command failed for target `test-ldbm'
> Current working directory /usr/LDAP/openldap-2.0.7/tests
> *** Error code 1
> make: Fatal error: Command failed for target `test'