an equivalent of the unix ldd command for mac

to show the dynamically linked libraries that a program requires under linux, one can run the * ldd * command. to get the same info on a mac, do:

  • otool -L <command> *