markdown 如何检查支持的glibc版本

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 如何检查支持的glibc版本相关的知识,希望对你有一定的参考价值。

# Check the supported GLIB symbols
You can check the gcc version and other useful information running directly the libc.so library (yes, you can run the library from console):
You would see something like this:

```
user@host-machine:~$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 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.
Compiled by GNU CC version 7.3.0.
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

```

To check the c++ versions:

```
$ objdump -x /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_
$ objdump -x /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_
```

To check the GLIBC versions

```
& ldd --version
```

The libc.so file is stored in (ubuntu): 

```
/lib/x86_64-linux-gnu/libc.so.6
```

以上是关于markdown 如何检查支持的glibc版本的主要内容,如果未能解决你的问题,请参考以下文章

如何重新编译glibc以支持较旧的内核版本?

安装glibc十分麻烦,还要检查版本的问题

markdown 如何检查已安装的ImageMagick版本?

GLIBC_2.14 not found

markdown glibc的静态编译

如何查看glibc版本