From owner-freebsd-current Mon Feb 28 8:41:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id 9D70037B87C for ; Mon, 28 Feb 2000 08:41:44 -0800 (PST) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id RAA24712; Mon, 28 Feb 2000 17:40:59 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id RAA18729; Mon, 28 Feb 2000 17:41:41 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id RAA22606; Mon, 28 Feb 2000 17:41:04 +0100 (CET) Date: Mon, 28 Feb 2000 17:41:04 +0100 From: Christoph Kukulies To: Peter Wemm Cc: "Jordan K. Hubbard" , Christoph Kukulies , freebsd-current@FreeBSD.ORG Subject: Re: RSA/openssl compile problem Message-ID: <20000228174104.A22443@gil.physik.rwth-aachen.de> References: <20000228154722.A5C5F1CDE@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000228154722.A5C5F1CDE@overcee.netplex.com.au>; from peter@netplex.com.au on Mon, Feb 28, 2000 at 11:47:22PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 28, 2000 at 11:47:22PM +0800, Peter Wemm wrote: > "Jordan K. Hubbard" wrote: > > > OK, I browsed through the source tree to locate something looking > > > like an RSA package and found /usr/src/crypto/openssl > > > > /usr/src/crypto is just like /usr/src/contrib - you *never* attempt > > to build things out of it. That will fail. OK, I cvsup'ed from ftp.internat.freebsd.org cvs-crypto Just for the record, FWIW: # make -i ===> lib ===> lib/libcipher ===> lib/libtelnet ===> lib/libcrypto ===> lib/librsaglue ===> lib/libssl ===> lib/librsausa Warning: Object directory not changed from original /usr/src/secure/lib/librsausa ===> lib/librsaintl Warning: Object directory not changed from original /usr/src/secure/lib/librsaintl ===> lib/libssh ===> libexec ===> libexec/telnetd ===> usr.bin ===> usr.bin/bdes ===> usr.bin/telnet ===> usr.bin/openssl cc -O -pipe -DMONOLITH -DNO_IDEA -I/usr/src/secure/usr.bin/openssl -o openssl apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dsa.o dsaparam.o enc.o errstr.o gendh.o gendsa.o genrsa.o nseq.o openssl.o pkcs12.o pkcs7.o pkcs8.o req.o rsa.o s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o speed.o verify.o version.o x509.o -lssl -lcrypto speed.o: In function `speed_main': speed.o(.text+0x5f7): undefined reference to `RSA_PKCS1' *** Error code 1 (ignored) ===> usr.bin/scp ===> usr.bin/ssh ===> usr.bin/ssh-add ===> usr.bin/ssh-agent ===> usr.bin/ssh-keygen ===> usr.sbin ===> usr.sbin/sshd Anyway, make -i install got around this and /usr/bin/ssh now works: # ldd /usr/bin/ssh /usr/bin/ssh: libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x2807c000) libutil.so.3 => /usr/lib/libutil.so.3 (0x28118000) libz.so.2 => /usr/lib/libz.so.2 (0x28122000) libc.so.4 => /usr/lib/libc.so.4 (0x2812f000) > > > > What you need is simply the rsaref package. I think somebody was > > supposed to improve the wording that the stubs emit, the version I > > originally committed (but Peter now has sole responsibility for :) > > having only place-holder text. The real text should talk about > > installing the rsaref package if you're in the US or the rsaintl > > package if you're outside the US. Of course, the rsaintl package > > doesn't quite *exist* yet, but that's another story. :-) > > librsaintl existed right from the start of the rsa (not rsaref) dlopen() > functionality, see src/secure/lib/librsaintl. > > Cheers, > -Peter -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message