Looking up libraries and header files

Mak Kolybabi mak at kolybabi.com
Thu Oct 1 14:06:58 UTC 2009

On 2009-10-01 06:59, david at vizion2000.net wrote:
> What is the simplest way to found out which port installs specific harder or
> library files?

pkg_info has a --which flag that tells you what package a file came from:
% pkg_info --which /usr/local/include/pcre.h
/usr/local/include/pcre.h was installed by package pcre-7.9

Matthew Anthony Kolybabi (Mak)
<mak at kolybabi.com>

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

More information about the freebsd-questions mailing list