在shell中,可以直接运行glibc共享库文件获取glibc版本,CentOS下执行: /lib/libc.so.6 输出为: GNU C Library stable release version 2.12, by Roland McGrath et al. Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There