i compiled openssl-0.9.7a, openssl-0.9.7, openssl-0.9.6a - openssl-0.9.7i
without troubles on solaris8. no need to add additional libraries.

niki



On 20-Mar-2003 [EMAIL PROTECTED] via RT wrote:
> 
> 
> Hey, just found the script with which I seem to have
> successfully generated openssl in the end, confirming
> my email from just a few minutes ago:
> 
> ---------------------------------
>#!/bin/csh
> 
> ./Configure solaris-sparcv8:"gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN 
> -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fomit-frame-poi
nter
> -Wall -DB_ENDIAN -DBN_DIV2W -fPIC -O3 -msupersparc -Qn -Wa,-Qn -fno-ident -s -lxnet 
> -lnsl"
> 
> gmake
> ---------------------------------
> 
> Arto
> 
> 
> ----- Previous Message -----
> 
> Hi
> just checked: yes, all 3 flags (-lsocket -lnsl -ldl) are missing.
> -lsocket and -ldl seem not needed, anyway (ldd openssl also shows
> that they are absent, but ./openssl still runs).
> Only -lxnet and -lnsl are necessary. When adding these
> to the compiler flags, it works. Probably have done
> it during configure, but can't remember anymore. In any case,
> now, with these flags added, after deleting target apps/openssl and
> re-running a gmake, it compiles with the following options (without
> the 3 library flags you mentioned; the string
> -fPIC -O3 -msupersparc -Qn -Wa,-Qn -fno-ident -s -lxnet -lnsl
> is from my usual compiler flags where I must have added
> -lxnet -lnsl at some stage):
> 
>   gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 
> -fomit-frame-pointer -Wall -DB_ENDIAN
> -DBN_DIV2W -fPIC -O3 -msupersparc -Qn -Wa,-Qn -fno-ident -s -lxnet -lnsl -o openssl 
> -DMONOLITH -I.. -I../include 
> -DOPENSSL_THREADS  -DOPENSSL_NO_KRB5  openssl.o verify.o asn1pars.o req.o dgst.o 
> dh.o dhparam.o enc.o passwd.o gendh.o errstr
.o
> ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o 
> s_server.o s_client.o speed.o s_time.o
> apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o 
> pkcs8.o spkac.o smime.o rand.o engine.o ocs
p.o 
> -L.. -lssl  -L.. -lcrypto  ; \
> 
> Arto
> 
> 
> ----- Begin Included Message -----
> 
> Date: Thu, 20 Mar 2003 12:24:00 +0100 (MET)
> From: Richard Levitte via RT <[EMAIL PROTECTED]>
> Subject: [openssl.org #527] openssl-0.9.7a under Solaris needs -lxnet -lnsl
> In-reply-to: <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Interesting, since all our Solaris targets have "-lsocket -lnsl -ldl" as extra 
> linking flags...  So just to check, is -lnsl
> really missing in your builds, or is it just -lxnet?
> 
> [EMAIL PROTECTED] - Wed Mar  5 14:00:08 2003]:
> 
>> Hi
>> building openssl under Solaris 2.6 (probably also other versions)
>> fails when linking the executable apps/openssl because library
>> flags -lxnet -lnsl are missing (needed for socket(), connect(), etc...)
>> Arto
>> 
>> openssl version:  0.9.7a
>> solaris version:  2.6
>> compiler version: gcc-3.1.1
>> 
> 
> 
> -- 
> Richard Levitte
> [EMAIL PROTECTED]
> 
> 
> ----- End Included Message -----
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

-- 
niki w. waibel - system administrator @ newlogic technologies ag
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to