From owner-freebsd-questions Mon Jan 15 21: 2:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sendmail.aapt.com.au (unknown [203.14.180.201]) by hub.freebsd.org (Postfix) with ESMTP id E61F137B401 for ; Mon, 15 Jan 2001 21:02:19 -0800 (PST) Received: from aaptmailmta.aapt.com.au (aaptmailmta.aapt.com.au [172.19.200.36]) by sendmail.aapt.com.au (2.6 Build 1 (Berkeley 8.8.6)/8.8.4) with SMTP id PAA08935 for ; Tue, 16 Jan 2001 15:58:28 +1100 Received: from SydDom1-Message_Server by aaptmailmta.aapt.com.au with Novell_GroupWise; Tue, 16 Jan 2001 16:02:23 +1100 Message-Id: X-Mailer: Novell GroupWise 5.5.4 Date: Tue, 16 Jan 2001 16:02:15 +1100 From: "Richard Grace" To: Subject: Problem with OpenSSL port Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to post this again. I got no response the last time. I've tried a few times to install the OpenSSL port but don't seem to be = getting very far. I'm running FreeBSD 2.2-STABLE - newly CVSuped and installed, and the = current ports. Basically, the port will not build shared libraries. The build of the = OpenSSL port completes fine, but only the static libraries are installed: $ ls -ld /var/db/pkg/openssl* drwxr-xr-x 2 root bin 512 Jan 12 03:44 /var/db/pkg/openssl-0.9.5a_1 $ ls -l /usr/local/lib/lib* -rw-r--r-- 1 root wheel 4164 Jan 12 03:44 /usr/local/lib/libRSAglue.= a -rw-r--r-- 1 root wheel 937444 Jan 12 03:44 /usr/local/lib/libcrypto.a= -rw-r--r-- 1 root wheel 202462 Jan 12 03:44 /usr/local/lib/libssl.a $ ls -l /usr/local/openssl/lib/lib* $ If I try to build OpenSSH or lynx-ssl ports, they can't find the crypto = library, so I assume it is looking for the shared lib, which is not = installed. Obviously reconfiguring ldconfig is not going to do much good, = nor is setting LD_LIBRARY_PATH (both are configured correctly anyway). Does anyone have any ideas why this is not working? Or why OpenSSL does = not install shared libs? The uname, port Makefile version IDs, OpenSSL version, and make output are = listed below. Any hints on what to play with (I've tried playing with make options and = other bits) would be appreciated. Failing this, should I be sending mail = to the port maintainer? Thanks in advance, Richard Grace. ----8<---- $ uname -a FreeBSD freebsd 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Thu Jan 11 20:56:30 = EST 2001 root@freebsd.vicone.net.au:/usr/src/sys/compile/GENERIC i386 $ grep '$Free' /usr/ports/security/openssl/Makefile # $FreeBSD: ports/security/openssl/Makefile,v 1.48 2000/10/08 10:22:52 = asami Exp $ $ grep '$Free' /usr/ports/security/openssh/Makefile # $FreeBSD: ports/security/openssh/Makefile,v 1.56 2000/11/04 23:04:20 = green Exp $ $ cd /usr/ports/security/openssh && make =3D=3D=3D> Extracting for OpenSSH-2.2.0 >> Checksum OK for openssh-2.2.0.tgz. =3D=3D=3D> OpenSSH-2.2.0 depends on shared library: crypto.1 - not found =3D=3D=3D> Verifying install for crypto.1 in /usr/ports/security/openssl= =3D=3D=3D> Returning to build of OpenSSH-2.2.0 Error: shared library "crypto.1" does not exist *** Error code 1 =20 Stop. *** Error code 1 =20 Stop. *** Error code 1 =20 Stop. *** Error code 1 =20 Stop. *** Error code 1 =20 Stop. *** Error code 1 =20 Stop. $=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message