Is there an easy way to find out which port loads which library?

Boris Samorodov bsam at passap.ru
Sun Feb 17 17:24:31 UTC 2013


17.02.2013 21:09, Bernard Higonnet пишет:

> Every once in a while, I have trouble installing a port and the problem 
> is either a missing library, an obsolete library, or some kind of 
> problem seemingly associated with a library.

pkg_libchk from sysutils/bsdadminscripts may be a good start.

> Is there a simple, direct, complete, and unequivocal way to find out 
> which port(s) install which libraries?

% pkg_info -W <filename>

At systems with pkgNG:
% pkg which <filename>

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list