otool is another library-oriented tool. Even though it shares the last four letters with libtool, otool will output a lot of information about an object file, library, or executable. otool has a ton of options, so check out the manpage for the whole suite. Here are a couple of interesting commands.
List the names and version numbers of the shared libs an object file or executable uses:
otool -L /Applications/Safari.app/Contents/MacOS/Safari/Applications/Safari.app/Contents/MacOS/Safari: /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current ...