linux ldd 命令介绍
ldd /usr/bin/ls
ldd是list, dynamic, dependencies的缩写, 意思是, 列出动态库依赖关系
出现如下:
linux-vdso.so.1 => (0x00007ffca65f7000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5d903ad000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f5d901a8000)
libacl.so.1 => /lib64/libacl.so.1 (0x00007f5d8ff9f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5d8fbd1000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f5d8f96f000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5d8f76b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5d905d4000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f5d8f566000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5d8f34a000)
欢迎来撩 : 汇总all