linux glibc

查看当前linux系统的glibc版本

ldd --version

1
2
3
4
5
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright (C) 2018 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.

我的笔记本上的glibc是2.27版本。

参考文献

1.https://www.linuxquestions.org/questions/linux-software-2/how-to-check-glibc-version-263103/