Checking the library dependencies of binaries ( executables, libraries )

Sometimes applications won’t start, plugins, libraries won’t load. Also sometimes the error messages just say they can’t be loaded. Ever wondered why they can’t load in such cases?
For situations like these we have tools that we can check said binaries with!

On Windows we have dependency walker, it’s a simple application really, you open the binary file that you want to check out, and then it shows the dependencies, even tells you if it can see problems:


On a Unix or Unix-like OS like Linux we have 2 tools to help, first there’s ldd, and objdump:
Ldd can show the dependencies recursively:


Objdump on the other hand shows the ones that are needed just by the binary in question:


They are very useful tools! So use them, next time you have such problems!



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: