如何找到的搜索路径ldd
?假设ldd
退货
[mahmood@dhcppc2 bin]$ ldd /home/mahmood/amd64-linux/lib/scsi-bus.so
linux-vdso.so.1 => (0x00007fffc27c7000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ffb13a25000)
libstdc++.so.5 => not found
libm.so.6 => /lib64/libm.so.6 (0x00007ffb137a0000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ffb13589000)
libc.so.6 => /lib64/libc.so.6 (0x00007ffb131f6000)
/lib64/ld-linux-x86-64.so.2 (0x00000037d6000000)
我想知道默认位置是ldd
什么?我的意思是/lib64
或者/usr/lib
还是/usr/lib64
....?