Difference between revisions of "List shared libraries"
From Noah.org
Jump to navigationJump to search (New page: Category:Engineering The `ldd` command will list the shared libraries used by a given command. If `ldd` is not available on your system then you can instead use `/lib/ld-linux.so.* --...) |
m |
||
Line 2: | Line 2: | ||
The `ldd` command will list the shared libraries used by a given command. If `ldd` is not available on your system then you can instead use `/lib/ld-linux.so.* --list`. See `man ld.so`. | The `ldd` command will list the shared libraries used by a given command. If `ldd` is not available on your system then you can instead use `/lib/ld-linux.so.* --list`. See `man ld.so`. | ||
+ | |||
+ | The following two examples are equivalent: | ||
<pre> | <pre> |
Revision as of 15:08, 15 February 2009
The `ldd` command will list the shared libraries used by a given command. If `ldd` is not available on your system then you can instead use `/lib/ld-linux.so.* --list`. See `man ld.so`.
The following two examples are equivalent:
ldd /bin/bash /lib/ld-linux.so.2 --list /bin/bash