From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 13:29:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E3B316A4CE for ; Thu, 16 Sep 2004 13:29:35 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A402643D41 for ; Thu, 16 Sep 2004 13:29:34 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i8GDTRcp064303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Sep 2004 14:29:28 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8GDTRZC064302; Thu, 16 Sep 2004 14:29:27 +0100 (BST) (envelope-from matthew) Date: Thu, 16 Sep 2004 14:29:27 +0100 From: Matthew Seaman To: Steven Adams Message-ID: <20040916132927.GD52325@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Steven Adams , 'FreeBSD Questions' References: <20040916113130.8E31B43D3F@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zS7rBR6csb6tI2e1" Content-Disposition: inline In-Reply-To: <20040916113130.8E31B43D3F@mx1.FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 16 Sep 2004 14:29:28 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: 'FreeBSD Questions' Subject: Re: /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 13:29:35 -0000 --zS7rBR6csb6tI2e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 16, 2004 at 08:49:29PM +1000, Steven Adams wrote: > When im trying to run pkg_add im getting >=20 > /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found >=20 > Does anyone know what this mean and how I install it. Well, the error message means that the dynamic loader (ld-elf.so) cannot find a shared library that pkg_add requires. The library itself should be in: /usr/lib/libssl.so.3 Both that, and pkg_add are standard parts of the base system, although there are also versions of OpenSSL (security/openssl) and the pkg tools suite (sysutils/pkg_install) in the ports system. I'm guessing that what has happened is that you've installed one or both of those using pre-compiled packages, hence the trouble resolving the shared libraries. In general, you shouldn't install a port that duplicates part of the base system unless you actually need to do that. Especially if what you're installing provides shared libraries. Most of those ports exist as ways of ensuring backwards compatability to older system versions -- you certainly don't need them if you're running 4.10-RELEASE, 4.10-STABLE, 5.2.1-RELEASE or better. There's probably a couple of other releases from the 4.x series where you don't need them either. If you haven't got a /usr/lib/libssl.so.3 file on your computer, then something is certainly rotten there. The simplest way to recover is to use cvsup to grab the latest sources from whatever installation branch you're using, and then do a full build+install world+kernel cycle as detailed in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Do examine your /etc/make.conf to make sure you aren't inadvertently disabling crypto support. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --zS7rBR6csb6tI2e1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBSZU3iD657aJF7eIRAlp/AKCgMd7AKom/XJDwewgA9cZ6zHSFcwCfbYoM Ui1JwYUUwCWCQu5b5Ik5Hdc= =7S+5 -----END PGP SIGNATURE----- --zS7rBR6csb6tI2e1--