[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) (192.54.193.53)


Hello,

I found nothing for my problem here :
http://www.openldap.org/faq

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 :

LD_LIBRARY_PATH=/opt/cyrus-sasl-1.5.28/lib:/opt/openssl-0.9.8e/lib:/opt/zlib-1.2.3/lib:/usr/local/lib/sparcv9:/usr/local/lib:/usr/lib:/usr/ccs/lib:.

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 \
--with-pic

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
it.
Please can you add support in configure file for the parameters:
--with-tls=DIR
--with-cyrus-sasl=DIR
It will help the configure file to find libraries and headers in paths that are
not standard. 

Thanks to help to resolve this problem.