Hi,
I'm installing openldap with tls against a custom openssl install that is located in /usr/local/ssl .
To compile I run # export LDFLAGS="-L/usr/local/ssl/lib" # export CPPFLAGS="-I/usr/local/ssl/include/openssl"
Then we have # env | grep FLAG LDFLAGS=-L/usr/local/ssl/lib CPPFLAGS=-I/usr/local/ssl/include/openssl
So that all looks normal. But when I run 'configure' with # ./configure --prefix=/usr/local/openldap --libexecdir=/usr/local/libexec --enable-slurpd --with-tls --enable-slapd
the last few lines I see are
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 checking OpenSSL library version (CRL checking capability)... no configure: error: Could not locate TLS/SSL package
So it looks like it can see the header files alright at least.
I have attached my config.log file to this mail, in case that might help.
Thanks, Andrew