*BSD News Article 95329


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SSLeay-0.6.6 & FreeBSD
Date: Thu, 15 May 1997 11:54:49 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 31
Message-ID: <337A6CE9.7153@OntheNet.com.au>
References: <5lcnoh$5c@nnrp3.farm.idt.net>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Michael Park <mpark@corp.ios.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40883

Michael Park wrote:
> 
> has anyone experienced any problems compiling SSLeay-0.6.6
> on FreeBSD 2.2.1 ?
> 
> gcc -o ssleay -DMONOLITH -I../include -DTERMIOS -D_ANSI_SOURCE -O2 -m486
> -Wall ssleay.o verify.o asn1pars.o req.o dgst.o dh.o enc.o gendh.o
> errstr.o ca.o  pkcs7.o crl2p7.o  crl.o rsa.o x509.o genrsa.o s_server.o
> s_client.o speed.o  s_time.o apps.o s_cb.o s_socket.o version.o sess_id.o
> ciphers.o -L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto
> ede_enc.o: Undefined symbol `_des_decrypt3' referenced from text segment
> ede_enc.o: Undefined symbol `_des_decrypt3' referenced from text segment
> ecb3_enc.o: Undefined symbol `_des_decrypt3' referenced from text segment
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.

Yep,  I've seen this and from memory the solution was-

(a)  run the config program to determine the system "capabilities"
(b)  make clean
(c)  make

I think the problem is that there are some binaries/libraries that were
distributed pre-built that are not compatible with FreeBSD.  The 'make
clean' gets rid of them so that _everything_ is recompiled!

Tony