Whenever I want to quickly check for dynamically linked libraries in a program, I use
readelf -d program
The use case I have is that I want to know what are the dependencies the program needs from the host system.If I wanted to know what are the dependencies of a particular shared library I can use
readelf -d library