glibc version
C M Reinehr
cmr at amsent.com
Thu Jan 24 08:04:50 PST 2008
On Thursday 24 January 2008 08:50, Michael Hipp wrote:
> What's the definitive way to determine what version of glibc I'm running?
>
> Thanks,
> Michael
Well, if you were using Debian or one of it's derivatives you could just type:
dpkg -l 'libc6*'
For example:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared
libraries
or you could type:
ls -l /lib/libc*
For example:
-rwxr-xr-x 1 root root 1282008 2007-08-16 18:30 /lib/libc-2.3.6.so
...
Or, perhaps, type:
ldd --version
For example:
ldd (GNU libc) 2.3.6
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
HTH!
cmr
--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list