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

(ITS#5099) openldap-2.3.37 configure can not find openssl/ssl.h

Full_Name: Yannnick LE NY
Version: 2.3.37
OS: Sun Solaris 8 Sparc
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I found nothing for my problem here :

Now, I'm trying to compile openldap-2.3.37 on Sun Solaris 8 / Sparc
and the tools
* gcc-3.4.6
* make 3.80 
* autoconf 2.60
* automake 1.10
* pkgconfig 0.20
* m4 1.4.7
* mm 1.4.2
from www.sunfreeware.com,
but I can not have a good configuration with SSL and SASL support in OpenLdap.

I have :


I use this parameters for configure :
CFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc " \
CC=gcc CXX=gcc \
CXXFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc" \
CPPFLAGS="-I/opt/openssl-0.9.8e/include \
-I/opt/cyrus-sasl-1.5.28/include" \
LDFLAGS="-L/opt/openssl-0.9.8e/lib \
-L/opt/cyrus-sasl-1.5.28/lib" \
./configure \
--prefix=/opt/openldap-2.3.37 \
--disable-slapd \
--disable-slurpd \
--with-tls \
--with-cyrus-sasl \
--with-threads \
--enable-shared --disable-static \

Configure stop with this error :


checking for sys/un.h... yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: Could not locate TLS/SSL package

With CPPFLAGS flags, I say where to find ssl.h but configure maybe don't use
Please can you add support in configure file for the parameters:
It will help the configure file to find libraries and headers in paths that are
not standard. 

Thanks to help to resolve this problem.