From: bjl@loki.research.ptt.nl (Ben Lippolt) Subject: Re: Linux 0.97p2 compatibility Date: Sun, 6 Sep 1992 17:24:56 GMT
genie@netcom.com (The Genie) writes:
>It seems the problem was that the GCC 2.2.2d that comes as images
>Comp1 and comp2 are not compatible with the older versions of
>GCC 2.2.2 --> everything that was compiled before using
>the shared libraries must be recompiled. If I'm right so
>far, then all the binaries of programs at ftp sites are
>useless until a newer version is recompiled?
You can have several shared libraries simultaniously in /lib.
My /lib looks like:
-rwxr-xr-x 1 root root 455684 Jul 25 20:31 libX11.1.1
-rwxr-xr-x 1 root root 451588 May 30 21:57 libX11_v1_0
-rwxr-xr-x 1 root root 140292 Jul 25 20:31 libXaw.1.1
-rwxr-xr-x 1 root root 136196 May 30 21:57 libXaw_v1_0
-rwxr-xr-x 1 root sys 173060 Jun 28 22:50 libc.2.2.2
-rwxr-xr-x 1 root sys 209924 Aug 16 19:41 libc.so.2
-rwxr-xr-x 1 root sys 13316 Jun 28 23:10 libm.2.2.2
-rwxr-xr-x 1 root sys 21508 Aug 16 19:41 libm.so.2
So, I have the 2.2.2 *and* the 2.2.2d versions.
I hoped that with the new shared libs with jump tables you could update
the shared libs and older programs would automatically use these new
libs. But I've read that libc.so.3 (or 4?) is not compatible with
libc.so.2. So, you'll have to recompile at least once more when libc.so.3
comes out (or keep your old libraries around). I hope that will be the
last (incompatible) update of the libraries for at least some time.
Ben Lippolt.