From: Félix Izquierdo (fizquierdo at l3consulting dot com)
Date: Wed Mar 03 2004 - 13:31:23 EST
It's an old problem with solaris+sasl. You need to call configure with
LIBS="-lsocket -lnsl" and perhaps with LDFLAGS="-R/usr/local/ssl" if you
are using shared ssl and the ssl directory isn't in the library search path.
In order to get openssl as shared, you must built it using "./config
shared". It works for me ( solaris9 + gcc ) and you'll avoid many future
problems with sasl and other packages using openssl.
Notice that you are using BDB 4.2. I don't know if it's supported with
sasl 2.1.17.
Félix
J.D. Bronson wrote:
> I am trying to build Cyrus SASL 2.1.17 on solaris-10 beta
> and since I cannot seem to get openssl to compile as shared, I had to
> use static...
>
> However, this seems to cause SASL not to see the libraries on openssl:
>
> ./configure --with-dblib=berkeley \
> --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
> --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include --disable-krb4 \
> --disable-gssapi --disable-login --disable-otp --disable-anon \
> --disable-checkapop --with-openssl=/usr/local/ssl \
>
> checking CRAM-MD5... enabled
> checking for RSAPublicEncrypt in -lrsaref... no
> checking openssl/evp.h usability... no
> checking openssl/evp.h presence... no
> checking for openssl/evp.h... no
> checking for OpenSSL... no
> checking for des_cbc_encrypt in -lcrypto... no
> checking for DES_cbc_encrypt in -lcrypto... no
> checking for des_cbc_encrypt in -ldes... no
> checking for des_cbc_encrypt in -ldes425... no
> checking for des_cbc_encrypt in -ldes524... no
> checking for RSAPublicEncrypt in -lrsaref... (cached) no
> checking for des_cbc_encrypt in -lcrypto... (cached) no
> configure: WARNING: No DES support for DIGEST-MD5
> checking DIGEST-MD5... enabled
> configure: WARNING: OpenSSL not found -- OTP will be disabled
> checking OTP... disabled
> configure: WARNING: OpenSSL not found -- SRP will be disabled
> checking SRP... disabled
> checking KERBEROS_V4... disabled
> checking for crypt... yes
>
>
> ..is this even possible to do?
>
>
>
>
>
>
|
|
|