If you need to use the ldd command on OS X you will face an error.
1 2 |
ldd -bash: ldd: command not found |
However, there is a “similar” command called otool on OS X that you can use :
1 |
otool -L myExecutable |
For the one who never used it, the ldd command is used to show the dynamic libraries a executable is linked to, or what libraries the executable needs to run. If the otool command is not recognized on your mac, you probably need to install xcode. You can find the documentation about otool here.
Post a Comment