Is there an IF statement missing in configure?

Line 19408 specifies that RSAglue and rsaref libraries should be used without 
verifying whether they are needed.

LIBS="-lssl -lcrypto -lRSAglue -lrsaref $LIBS"

Changing this to check for rsaref would stop configure failing when using the 
newer versions of OpenSSL that no longer support rsaref.

P.

The Uhu <[email protected]> wrote:

Apologies, I didn't add the configure command and output. The static libraries 
are present in the included directory specified in the configure command.

>CC="/usr/sfw/bin/gcc" LIBS="-lssl -lcrypto -lresolv -lgen -lnsl -lsocket" 
>LDFLAGS="-L/workingdir/openssl-0.9.8r/build-SOLARIS/usr/local/openssl-0.9.8r/lib
> -R/workingdir/openssl-0.9.8r/build-SOLARIS/usr/local/openssl-0.9.8r/lib" 
>CPPFLAGS="-I/workingdir/openssl-0.9.8r/build-SOLARIS/usr/local/openssl-0.9.8r/include"
>./configure 
>--prefix=/workingdir/openldap-2.4.23/build-SOLARIS/usr/local/openldap-2.4.23 
>--disable-slapd --disable-shared --disable-dynamic --with-tls=openssl 
>--with-ssl
>Configuring OpenLDAP 2.4.23-Release ...
>checking build system type... sparc-sun-solaris2.10
>checking host system type... sparc-sun-solaris2.10
>checking target system type... sparc-sun-solaris2.10
>...
>(other checks)
>...
>checking struct sockaddr_storage... yes
>checking sys/un.h usability... yes
>checking sys/un.h presence... yes
>checking for sys/un.h... yes
>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
>configure: error: Could not locate TLS/SSL package

The Uhu <[email protected]> wrote:

Hi,

First off I have tried searching the net about this and all I find is that 
OpenSSL has to be built with shared libraries. However I have a need to use 
static OpenSSL libraries for supportability purposes (avoid conflicts with the 
older system version and for portability across hosts).

Is it really not possible to do this? If not, and out of interest, what's the 
rationale?

Thanks in advance.

P.

Reply via email to