|RESOLVE-LIB(1)||General Commands Manual||RESOLVE-LIB(1)|
] spec ...
resolve-libresolve library specs against a list of installed libraries.
resolve-libtakes a list of file names with full path on stdin, and matches each library spec against those libraries, using library-specs(7) conventions. In particular,
LOCALBASEare used to locate X11 libraries and port libraries.
resolve-libwill print the best libraries found in a format suitable for
@wantlib(see pkg_create(1)). Each spec not found will result in an error message and exit code. If the option
-silentis used, nothing will be displayed. The option
-neededis used to sort out
resolve-libwill succeed if at least one of the libraries matches against a shared library passed on the command line.
|April 4, 2016||OpenBSD-current|