- Mac OS X:
otool-Lfile - Linux:
lddfile
If those commands don’t provide what you want, on Mac OS X you can dump all the load commands with otool -l file. On Linux you can dump the entire contents of the dynamic section with readelf -d file.