From owner-freebsd-current Mon Dec 30 11:51:27 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA14427 for current-outgoing; Mon, 30 Dec 1996 11:51:27 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id LAA14413 for ; Mon, 30 Dec 1996 11:51:22 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA09100; Mon, 30 Dec 1996 20:50:57 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA12967; Mon, 30 Dec 1996 20:50:57 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id UAA11960; Mon, 30 Dec 1996 20:27:54 +0100 (MET) From: J Wunsch Message-Id: <199612301927.UAA11960@uriah.heep.sax.de> Subject: Re: Which libraries are necessary To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 30 Dec 1996 20:27:54 +0100 (MET) Cc: shanee@rabbit.augusta.de (Andreas Kohout) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from Andreas Kohout at "Dec 30, 96 00:45:10 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Andreas Kohout wrote: > these are the libīs: Btw: ^ that's not an apostroph > > root:/usr/lib/compat# ls > libc.so.1.1 libm.so.1.1 > libc.so.2.0 libmp.so.2.0 > libc.so.2.2 libncurses.so.2.0 ^^^^^^^^^^^ libc.so.2.0 won't be ever used again, only .2.2. Basically, you need the highest minor number version for each major number version of a shared lib for compatibility. Of course, you only need it if any of your binaries still references them. You should be able to find about this by running `ldd' on the binaries, and parse the output. For example: $ ldd /usr/bin/* 2>/dev/null | awk '/^\t/ {print $3}' | sort -u /usr/lib/libc.so.2.2 /usr/lib/libc.so.3.0 /usr/lib/libcipher.so.2.0 /usr/lib/libcrypt.so.2.0 /usr/lib/libcurses.so.2.0 /usr/lib/libdialog.so.3.0 /usr/lib/libftpio.so.4.0 /usr/lib/libgnuregex.so.2.0 /usr/lib/libipx.so.2.0 /usr/lib/libkvm.so.2.0 /usr/lib/libm.so.2.0 /usr/lib/libmytinfo.so.2.0 /usr/lib/libncurses.so.3.0 /usr/lib/libreadline.so.3.0 /usr/lib/librpcsvc.so.2.0 /usr/lib/libskey.so.2.0 /usr/lib/libtcl.so.75.1 /usr/lib/libtelnet.so.2.0 /usr/lib/libtermcap.so.2.1 /usr/lib/libutil.so.2.1 (Eeek! I've still got a binary referencing libc.so.2... :-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)