Nikolay Molchanov wrote:
> But I still don't understand why all links are resolved,
> but symbol "g_once_init_enter_impl" is not found.
> I thought that we have to change the version of the library, if we change
> its contents, so the binary should not link with an incompatible library.
> Like if this symbol is *not* supposed to be in libglib-2.0.so.0, but is
> supposed to be in libglib-2.0.so.1 (or whatever the "new" version is 
> called),
> the binary should not link with libglib-2.0.so.0.

No - for compatible additions, such as adding symbols, the library internal
version number is bumped, but the file name is not changed - otherwise we'd
be on libc.so.1000 by now and have a compeletely unusable system with all
the library conflicts between the thousand versions of libc.

I'm not sure if the GNOME libraries are built with correct internal versioning
though.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to