在32位Linux系统上,调用此
$ /lib/libc.so.6
在64位系统上
$ /lib/x86_64-linux-gnu/libc.so.6
在外壳中,提供如下输出:
GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 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 4.4.0 20090506 (Red Hat 4.4.0-4).
Compiled on a Linux >>2.6.18-128.4.1.el5<< system on 2009-08-19.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
为什么会发生这种情况以及如何发生这种情况,以及如何在其他共享库中进行同样的处理?
我看着/usr/lib
找到可执行文件,然后找到了/usr/lib/libvlc.so.5.5.0
。运行它导致分段错误。:-/