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

Re: Compiling with SSL/TLS



> Hi !!
> I get a ldap 2.0.7 version...
> I have some trouble while chooding to compile with SSL/TLS (openssl 0.96)
> I follow explanations of the document http://www.openldap.org/faq/data/cache/185.html ...
> I try env CPPFLAGS=-I/usr/local/ssl/include/openssl LDFLAGS=-L/usr/local/ssl/lib.

> Then I run configure --with-tls --prefix /opt/openldap...

Sounds like you are doing these in separate steps.  The results of the 'env'
command are lost.  Make sure CPPFLAGS and LDFLAGS are exported into your
environment, or do the configure in the same line with the env command, eg.

env CPPFLAGS=-I/usr/local/ssl/include/openssl LDFLAGS=-L/usr/local/ssl/lib \
 configure --with-tls --prefix /opt/openldap...


> I got this following message :
> ...
> checking INET6_ADDRSTRLEN... yes
> checking for sys/un.h... yes
> checking for openssl/ssl.h... no
> checking for ssl.h... no
> configure: error: Could not locate TLS/SSL package
> 
> Thanks for your help.
> 
> Regards,
> Ravi APPANAH
> 
>