momo zone

调核人的blog

获得当前glibc版本的几种方法

1. rpm -qi glibc| grep ‘Version’

2. 执行/lib64/libc.so.6

3. 执行ldd –version

4.#include <gnu/libc-version.h>

printf(“GNU libc version: %s\n”, gnu_get_libc_version());

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: