1.先尋找libc.so

   

[ju@station ~]$ locate libc.so

 

/lib/libc.so.6 
/lib/i686/nosegneg/libc.so.6 
/usr/lib/libc.so

 

2. 直接查看/lib/libc.so.6的相關資訊,就可以查到glibc的version為2.3.2

 

[ju@station ~]$ /lib/libc.so.6

 

GNU C Library stable release version 2.3.2, by Roland McGrath et al.

Copyright (C) 2003 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 3.2.3 20030502 (Red Hat Linux 3.2.3-58).

Compiled on a Linux 2.4.20 system on 2007-04-19.

Available extensions:

        GNU libio by Per Bothner

        crypt add-on version 2.1 by Michael Glad and others

        linuxthreads-0.10 by Xavier Leroy

        The C stubs add-on version 2.1.2.

        BIND-8.2.3-T5B

        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

Thread-local storage support included.

For bug reporting instructions, please see:

http://www.gnu.org/software/libc/bugs.html.

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 poisonjudy 的頭像
    poisonjudy

    愛神~~ju比特 ^.

    poisonjudy 發表在 痞客邦 留言(0) 人氣()