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
Trackback URL for this entry: http://www.entropy.ch/blog/Developer/2009/07/05/Updated-checklibs-pl-script-to-list-dynamic-library-dependencies.html?tb=y
|












