Checking for broken packages (as in linking)

Conrad J. Sabatier conrads at
Sat Nov 5 06:53:45 UTC 2011

On Fri, 04 Nov 2011 23:27:54 -0700
James Colannino <james at> wrote:
> What I want to know is, are there tools that will check the ports
> I've installed and tell me if any of my packages are linked against
> libraries that are no longer there?  I'm paranoid that at some point,
> while I'm building and installing updates, I'm going to break
> something.

The port sysutils/bsdadminscripts includes a tool called pkg_libchk,
which does exactly what you're looking for.

> I've been using FreeBSD for a little while now, but I'm still 
> learning... :)  Thanks in advance!

Hey, we're all (even us so-called "old-timers") "still learning".  :-)

Conrad J. Sabatier
conrads at

More information about the freebsd-questions mailing list