Updated checklibs.pl script to list dynamic library dependencies
Developer — 5 Jul 2009 13:54 — 253 days ago

Here’s an updated version of checklibs.pl, a developer tool that lists dynamic library dependencies of Mac OS X binaries. I introduced it in an earlier article.

The new version colorizes all libraries that are outside of the /System and /usr/lib directories and therefore not part of a standard Mac OS X installation.

The color helps spotting non-standard libraries. For each one, you have to determine if the dependency is a build mistake (hello MacPorts or Fink in $PATH) or if it’s OK because the library will be shipped and installed along with the binary.

The script is now under revision control as part of my Mac OS X shell script collection on GitHub:

http://github.com/liyanage/macosx-shell-scripts

Screenshot of checklibs.pl output

Powered By blojsom