I am using ubuntu 12.04.5 LTS

I installed cyrus-sasl-2.1.26 (created symlink from /usr/lib/sasl2 to /usr/local/lib/sasl2)

I used the following options for configuration:
--enable-debug --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl

Configuration, make depend and make were successful.

I then proceeded to "make test" and I got the error:
../clients/tools/ldapsearch: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory

The file libsasl2.so.3 is present in /usr/local/lib

I set LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2"

Do I need to set some other flags to make the tests work?


-Guruprasad