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

Re: Error while trying to compile "with TLS"

--On Wednesday, March 22, 2006 10:56 AM +0100 Johan.GUIHENEUF@external.thalesgroup.com wrote:


I'm trying to compile openldap 2.3.20 on a Linux i386 (Ubuntu distrib). I
already compiled openssl 0.9.8a, MIT krb5 1.4.3, Cyrus SASL 2.1.21 and
BerkeleyDB 4.4.20.

OpenSSL 0.9.8a is installed in /usr/local/ssl directory but there are
older versions of OpenSSL installed elsewhere on the computer. There are
installed as Debian packages by Ubuntu distrib.

My LD_LIBRARY_PATH environment variable is worth

My configure invocation is:
env LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib"
CPPFLAGS="-I/usr/local/ssl/include" LIBS=-lssl ./configure --disable-ipv6
--with-cyrus-sasl --with-tls

The last output/error lines of configure 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)... yes
configure: error: Could not locate TLS/SSL package

I join config.log file. I had a look at Admin guide, faq-o-matic and
openLDAP-software mailing list archive. I don't see where I make a

What did the config.log file say?

By the way, I would advise against linking against MIT Krb5 if you are going to be running and OpenLDAP directory server. If you want kerberos support on the server, then use Heimdal. MIT Krb5 is several magnitudes slower than Heimdal. If this is just for client binaries (ldapsearch, etc), MIT Krb5 is fine.


-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html