Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 1996 20:27:54 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        shanee@rabbit.augusta.de (Andreas Kohout)
Subject:   Re: Which libraries are necessary
Message-ID:  <199612301927.UAA11960@uriah.heep.sax.de>
In-Reply-To: <m0veUul-000FzfC@rabbit.augusta.de> from Andreas Kohout at "Dec 30, 96 00:45:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612301927.UAA11960>