如何查glibc的版本
如何查glibc的版本 $ rpm --info -q glibcName : glibc Relocations: (not relocatable)
Version : 2.3.3 Vendor: (none)
Release : 84.1mgc Build Date: 2004年12月05日 星期日 11时41分58秒
Install Date: 2005年03月23日 星期三 16时44分47秒 Build Host: MagicLinux
Group : System Environment/Libraries Source RPM: glibc-2.3.3-84.1mgc.src.rpm
Size : 10852763 License: LGPL
Signature : (none)
Summary : The GNU libc libraries.
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function. 有些版本linux下libc这个共享库文件有可执行属性,直接运行一下好了。
$ /lib/libc-2.3.5.so
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
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.
Compiled by GNU CC version 4.0.2 20050725 (prerelease) (Debian 4.0.1-3).
Compiled on a Linux 2.6.13 system on 2005-08-29.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
从文件名上也可看出个大概。
页:
[1]