From owner-freebsd-questions Mon Aug 5 18:42:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA04635 for questions-outgoing; Mon, 5 Aug 1996 18:42:02 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA04622 for ; Mon, 5 Aug 1996 18:42:00 -0700 (PDT) Received: from relay-2.mail.demon.net (disperse.demon.co.uk) by mail.crl.com with SMTP id AA05662 (5.65c/IDA-1.5 for ); Mon, 5 Aug 1996 16:26:11 -0700 Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net id aj00847; 6 Aug 96 0:24 +0100 Received: from am168.du.pipex.com ([193.130.252.168]) by relay-3.mail.demon.net id aa16411; 6 Aug 96 0:22 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id VAA03541; Mon, 5 Aug 1996 21:50:05 GMT From: James Raynard Message-Id: <199608052150.VAA03541@jraynard.demon.co.uk> Subject: Re: Pine 3.95 & lib.so.3.0 To: andrsn@andrsn.stanford.edu Date: Mon, 5 Aug 1996 21:50:05 +0000 () Cc: questions@freebsd.org In-Reply-To: from "Annelise Anderson" at Aug 5, 96 01:20:18 am X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I got the pine 3.95 package and used pkg_add on it, but when I > tried to run it the library lib.so.3.0 was not found. (This > system is 2.1.5.) Where might I get this? Or did I only > need to type ldconfig to make it work? Another one for the FAQ, I think :-) # cd /usr/lib # ln -s libc.so.2.2 libc.so.3.0 (this is a slight cheat, but I wouldn't expect it to cause any problems). Basically, you're running FreeBSD-2.1.5, with version 2.2 of the shared C library, but the package was apparently compiled on FreeBSD-current, which has version 3.0 of the shared C library, so it expects to find that on any system it's run on. If it really bothers you, you can compile it yourself from the port, but it's probably not worth it. BTW ldconfig is really only useful if you've made some kind of change involving shared libraries. Basically, the run-time linker tries to keep track of which shared libraries are likely to be needed (so it can look them up more quickly); ldconfig is a tool to tell it when (and how) it needs to update its information. > Since the package overwrote my 3.94 installation (I guess there > is no way to avoid this with a package) Not very easily. You could probably track down which files the 3.94 installation had installed and copy them to a safe place before installing 3.95, but this is not exactly user-friendly. Maybe this ought to go on the pkg_add wish list...