Object file displaying tool (Mac OS X). ldd is used on Linux.
otool -L foo
this command will show you dependencies