If you develop in C/C++, you will probably already know and love the
ldd tool. If you don't know it, yet,
ldd lets you check against which dynamic/shared libraries a given binary is currently linked (and which of them might be missing).
If you come to Mac OS X with a Unix/GCC background, you will be quite surprised that the system seems to be lacking this essential utility. But fear not, there is another tool that can do this job under OS X just fine! Introducing: otool. It can do much more, but to use it as a direct substitute for
ldd, just give it the
-L switch and the path to the binary like this:
(via/Thanks to: Sergei Chumakov)