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

Re: configure can't find tls

Jon Roberts escreveu:
Fedora 7
OpenSSL 0.9.8e
Heimdal 0.8.1
Cyrus-SASL 2.1.22
OpenLDAP 2.3.36

My (tcsh) environment has:

setenv CC gcc
setenv CFLAGS "-O -g"
setenv CPPFLAGS "-I/usr/local/include"
setenv LDFLAGS "-L/usr/local/lib"
setenv LD_LIBRARY_PATH "/usr/local/lib"

When I start to build OpenLDAP, I get stopped at:

ernie 70> configure --with-tls
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

...even though:

ernie 73> ls -l /usr/local/lib/libcrypto.a
-rw-r--r-- 1 root root 2213286 2007-06-20 14:05 /usr/local/lib/libcrypto.a
ernie 76> ls -l /usr/local/lib/libssl.a
-rw-r--r-- 1 root root 364650 2007-06-20 14:05 /usr/local/lib/libssl.a
ernie 78> ls -l /usr/local/include | grep openssl
drwxr-xr-x 2 root root 4096 2007-06-20 14:05 openssl
ernie 82> ls -l /usr/local/bin/openssl
-rwxr-xr-x 1 root root 1749278 2007-06-20 14:05 /usr/local/bin/openssl
ernie 80> ls -l /usr/local/openssl
total 48
drwxr-xr-x 2 root root 4096 2007-06-20 14:05 certs
drwxr-xr-x 6 root root 4096 2007-06-20 14:05 man
drwxr-xr-x 2 root root 4096 2007-06-20 14:05 misc
-rw-r--r-- 1 root root 9374 2007-06-20 14:05 openssl.cnf
drwxr-xr-x 2 root root 4096 2007-06-20 14:05 private

I built Heimdal and Cyrus-SASL without issue using the same environment and they appeared to find this OpenSSL install. What is OpenLDAP configure looking for that it isn't finding?

Did you install openssl-dev package ?

-- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified NÃcleo de Processamento de Dados Universidade de Caxias do Sul