I've tried to install OpenLDAP with some steps I did before in other installation under the same conditions in Ubuntu 12.04
I've followed the manual that OpenLDAP has on line... But when I try to
make test it fails in the first test... and checking the log of tests for errors it says:
error while loading shared libraries: libdb-5.3.so: cannot open shared object file: No such file or directory
I've searched on internet an the solution they said it's to add in the ./configure the paths for the libraries... so I did it:
LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/usr/local/db5/lib:/usr/local/cyrus/lib" LDFLAGS="-L/usr/local/db5/lib -L/usr/local/cyrus/lib" CPPFLAGS="-I/usr/local/include -I/usr/local/db5/include -I/usr/local/cyrus/include" ./configure -prefix=/usr/local/ldap --with-cyrus-sasl --with-tls
but still nothing... any idea on how could I solve this??