From: Mitchum Dsouza (mitch@spuddy.uucp)
Date: 09/07/93


From: mitch@spuddy.uucp (Mitchum Dsouza)
Subject: Re: DLL Jump 4.4pl2 and libc.so.4 incomp. v# DLL's ??
Date: Tue, 7 Sep 1993 12:50:14 GMT


Karsten Steffens asks:

> what is wrong: compiling a hello.c results in a though working,
> but nagging executable:
>
> libc.so.4: incompatible minor version numbers (DLL Jump 4.4pl2)
>
> So, what is incompatible with what? gcc with the libraries, the libraries
> with the loader, or what? BTW, I use SLS 1.03 version of end of august.

and Scott Mitchell Jennings similarly:
> But now, everything I have compiled since then starts with the
> warning:
>
> Warning: [appname]: libc.so.4: incompatible minor version
> numbers (DLL Jump 4.4pl2).
>
> I assume this means that I need to update some DLL's somewhere
> for, the newer kernel, or that I've somehow overwritten the new
> DLL's with older copies.
>
> How should I correct this problem? I should mention that, appart
> from the warning messages, I have experienced no (obvious)
> probmlems.

It seems that SLS has for some reason distributed a testing only version of
the libc library (I think because of some networking problems with 4.4.1).
libc.so.4.4.2 is NOT a public release. The messages you are getting is
because your stubs (.sa files) and DLL's (.so files) do not match version
numbers.

You can tell what the stub version number by doing the following:

        % nm /usr/lib/libc.sa | grep "[DU] ___libc"

this should give you multiple lines something like

         U ___libc_4_402
         U ___libc_4_402
         U ___libc_4_402

This means your stub is version 4.4.2.

Now look in your /lib directory and see what your libc.so.4 file is linked
to. It is more likely than not linked to a DLL library version lower than
the stub library .sa - hence the warning mesage when a you compile
something.

The idea is to make sure both these versions numbers are the same so what
you compile gets dynamically linked to the correct version of the DLL at
run-time. In other words you probably need the new libc.so.4.4.2.

Please read the GCC-FAQ on sunsite.unc.edu /pub/Linux/docs/faqs for more
information.

Mitch

-- 

* Meeeow ! Call Spuddy on (0203) 364436/362560 for FREE mail & Usenet access *