Friday, July 08, 2011

Library dependencies in Cygwin

To list the libraries on which a file depends, use cygcheck. The following command lists all the libraries used by the less program.

cygcheck less

To search for the package containing a particular library, check the Cygwin database or use cygcheck with the -p option. The following command shows the package which provides the file /bin/foo.dll.

cygcheck -p /bin/foo.dll

No comments: