在Debian Linux上如何查看Libc库版本

要查看Debian Linux系统上安装的“Libc”版本,请使用“LDD”命令。

# ldd --version
ldd (Debian EGLIBC 2.13-38+deb7u1) 2.13

另一种方法是运行它的二进制:

# /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian EGLIBC 2.13-38+deb7u1) stable release version 2.13, by Roland McGrath et al.
Copyright (C) 2011 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.4.7.
Compiled on a Linux 3.2.51 system on 2013-12-22.
Available extensions:
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
.
日期:2020-07-07 20:56:11 来源:oir作者:oir