[ILUG] libc incompatibilities

Gary Coady gary at netsoc.tcd.ie
Thu Jul 12 21:40:57 IST 2001


On Wed, Jul 11, 2001 at 10:57:18AM +0100, John P. Looney wrote:
>  Anyone know what the story is with glibc incompatibilities ? I've got a
> wierd problem where compiling openssl on my redhat (7.1/glibc2.2.2) box
> works - and I can run the binary, but if I scp it to another box (custom
> distro/glibc2.2.1) and try and run it, it core dumps, in fputs().
> 
>  Now, if I compile it on a Mandrake (7.2/glibc2.1.3) box, it runs fine on
> said "custom" box.

AFAIK glibc is designed to be forward compatible, but not backward
compatible. I think the last major incompatiblity jump was with 2.1.97 so
anything compiled with a later version of libc will not work on a libc
library below that. Annoying but true.

Gary.




More information about the ILUG mailing list