For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2005 > How to find glibc version?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to find glibc version?
seema_coma@yahoo.co.in

2005-08-25, 3:57 am

I have (Red Hat Linux 3.2.3-20)box with gcc
version 3.2.3. Can some body tell me how to
find the glibc version ?

Thanks in Advance
Seema

Paul Pluzhnikov

2005-08-25, 3:57 am

seema_coma@yahoo.co.in writes:

> I have (Red Hat Linux 3.2.3-20)box


No, you don't. There is no product called "Red Hat Linux 3.2.3-20".
If you want to know what distribution you do have, try this:

$ head -1 /etc/issue
Fedora Core release 2 (Tettnang)

> with gcc version 3.2.3.


Gcc and glibc versions are independent.

> Can some body tell me how to find the glibc version ?


$ /lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.3, by Roland McGrath et al.

$ rpm -q glibc
glibc-2.3.3-27.1


Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Kornilios Kourtis

2005-08-25, 6:58 pm

Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
> seema_coma@yahoo.co.in writes:
>
> $ /lib/libc.so.6 | head -1
> GNU C Library stable release version 2.3.3, by Roland McGrath et al.
>
> $ rpm -q glibc
> glibc-2.3.3-27.1
>


there is also:
$ getconf GNU_LIBC_VERSION
glibc 2.3.4

--
Kornilios Kourtis
Norm Dresner

2005-08-25, 6:59 pm

"Paul Pluzhnikov" <ppluzhnikov-nsp@charter.net> wrote in message
news:m31x4ir1tz.fsf@somewhere.in.california.localhost...
> seema_coma@yahoo.co.in writes:
>
>
> No, you don't. There is no product called "Red Hat Linux 3.2.3-20".
> If you want to know what distribution you do have, try this:
>
> $ head -1 /etc/issue
> Fedora Core release 2 (Tettnang)
>


With RedHat 6.2, I need to do
$ head -2 /etc/issue
because the first line is blank!

Norm

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com