|
|
How do I determine what dynamic libraries an application depends upon? |
| The "ldd" command will tell you, assuming that the application's library
paths are already set up (either by the way it is built, or because
LD_LIBRARY_PATH specifies the paths).
But frequently this is not the case, so use the "dump -Lv" command on
the application executable and look for "NEEDED" entries. These are
the dynamic libraries the executable depends upon. Repeat the command
for these libraries, recursively, and you'll find all the dynamic
library dependencies.
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||