openldap - problem finding ssl library
Hello Team,
I am trying to install openldap, Berkeley DB and openssl from source on a Debian 6.0 box. The version of the softwares are presented below:
openldap-2.4.23
db-4.8.30
openssl-1.0.0
The softwares are installed on /usr/local/openldap, /usr/local/bdb, /usr/local/openssl respectively.
Berkeley DB and openssl were successfully installed.
Then I ran the following commands to install openldap.
--- snippet ---
export CPPFLAGS="-I/usr/local/bdb/include -I/usr/local/openssl/include"
export LDFLAGS="-L/usr/local/bdb/lib -L/usr/local/openssl/lib"
./configure --prefix=/usr/local/openldap
-- end --
The configure script had no problem finding Berkeley DB however, it failed to find the library files for openssl.
-- snippet --
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_library_init in -lssl... no
checking for ssl3_accept in -lssl... no
-- end --
I tried creating symbolic links of the openssl library files to /usr/lib , added openssl library paths to /etc/ld.so.conf.d/openssl.conf.
None of those were successful and am not sure what the problem is.
It would be great if someone can give me a hand on this.
Regards,
Shuple
|