Checking shared library dependencies on Linux

We can check the library dependecies related with an application using the following command:

ldd OUR_APPLICATION

And the ouput will be something like this:

So this way we can check all the library dependecies related with an application.

On the example above we can see two missing libraries libz.so.1 and libstdc++.so.6 we have to fix the dependencies first before be able to run our application.

Update: Related post

If you wanna find a library (or file) in our system you should have a look to this post