tommyk Asked: 2011-02-02 03:59:17 +0800 CST2011-02-02 03:59:17 +0800 CST 2011-02-02 03:59:17 +0800 CST ubuntu 的 Dependency Walker 772 是否有适用于 Ubuntu的 Windows DependencyWalker之类的工具?我想查看我的可执行文件所依赖的所有共享库。 dependencies 1 个回答 Voted Best Answer perseo22 2011-02-02T04:09:27+08:002011-02-02T04:09:27+08:00 在终端中,执行: ldd /path/to/your_executable 例子: ~$ ldd /bin/ls linux-vdso.so.1 => (0x00007fff78fea000) libselinux.so.1 => /lib/libselinux.so.1 (0x00007f1940858000) librt.so.1 => /lib/librt.so.1 (0x00007f1940650000) libacl.so.1 => /lib/libacl.so.1 (0x00007f1940447000) libc.so.6 => /lib/libc.so.6 (0x00007f19400c4000) libdl.so.2 => /lib/libdl.so.2 (0x00007f193fec0000) /lib64/ld-linux-x86-64.so.2 (0x00007f1940a99000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f193fca2000) libattr.so.1 => /lib/libattr.so.1 (0x00007f193fa9d000)
在终端中,执行:
ldd /path/to/your_executable
例子: