List libraries associated with an application

Mar 28, '02 07:39:44PM

Contributed by: jcurious

For those trying to find out what libraries are tied to an application (ie. ldd in linux) you can use otool -L FILENAME:

 % otool -L /usr/bin/ftp
/usr/bin/ftp:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 55.0.0)
The actual output is on two lines; shown here on three to minimize article width.

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020328193944663