Re: What relation between "libc.so.6" and symbol version "GLIBC_2.x" ?

From: John Reiser (jreiser_at_BitWagon.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 06:37:26 -0800


> How to use / install libc.so.6 that can be compliant to multiple
> 'GLIBC_2.x' definitions ?

The glibc-2 that comes with your Linux distribution has them already.
Any official source for glibc contains all the versions of all the symbols.
A symbol with a new GLIBC_2.x version is just added; the old versions
are never removed. The most common case is 'popen'.

> How to check which symbol version is defined in a library ?

readelf --symbols /lib/libc.so.6
Note that there may be multiple libc.so.6: /lib, /lib/mmx, /lib/tls, ...
Check via "ldd ./a.out".

> Note: currently I have a problem with a program which requires
> 'GLIBC_2.0' and so look for the correct libc.so.6 with GLIBC_2.0

Please be explicit. Name the symbol(s).

-- 


Relevant Pages

  • Re: What relation between "libc.so.6" and symbol version "GLIBC_2.x" ?
    ... John Reiser wrote: ... > The glibc-2 that comes with your Linux distribution has them already. ... > Any official source for glibc contains all the versions of all the ...
    (comp.os.linux.setup)
  • Re: Linux v2.6.18-rc3
    ... Which distribution and glibc version are you using? ... so not really a Unix like Linux distribution ... FullPliant picks a fiew executables and DLLs from some Debian ... Also I keep track in a database of each Debian package I select at install time, ...
    (Linux-Kernel)
  • Re: Newer glib library on linux
    ... > a older linux distribution, which only has glibc 2.2.5 installed. ... > install a newer glib and to point to it? ... Programs compiled with the old lib should run on newer ones but ...
    (comp.os.linux.misc)
  • Newer glib library on linux
    ... I compiled a program of mine, which uses glibc 2.3.2. ... a older linux distribution, which only has glibc 2.2.5 installed. ... install a newer glib and to point to it? ... Fritz ...
    (comp.os.linux.misc)