[Date Prev][Date Next] [Chronological] [Thread] [Top]

Can not build OpenLDAP with OpenSSL in custom location




Ok, this is driving me nuts!!!!  I can't build OpenLDAP with TLS support.  configure fails with a TLS/SSL error.  If I disable TLS everything works just fine.  Everthing I can find on the net is telling me I'm doing this right but it's not working.  I have OpenSSL 0.9.8x built and installed to a custom directory:

/appl/openssl

I have the following environment variables set:

LD_LIBRARY_PATH=/appl/BerkeleyDB/lib:/appl/openssl/lib:/appl/cyrus_sasl/lib:/appl/unixODBC/lib:/appl/openldap/lib:$LD_LIBRARY_PATH
CPPFLAGS="-I/appl/BerkeleyDB/include -I/appl/openssl/include/openssl -I/appl/cyrus_sasl/include -I/appl/unixODBC/include -I/appl/openldap/include -I/usr/include -DF00=42"
LDFLAGS="-L/appl/BerkeleyDB/lib -L/appl/openssl/lib -L/appl/cyrus_sasl/lib -L/appl/unixODBC/lib -L/appl/openldap/lib -L/usr/lib "

I run the following configure command:

./configure --prefix=/appl/openldap --enable-bdb --enable-ldap --enable-sql --enable-overlays --enable-spasswd --with-tls=openssl

And I get the following output:

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
configure: error: Could not locate TLS/SSL package

What am I missing??

-Jon C. Kidder
American Electric Power
Middleware Services
614-716-4970