Date: Thu, 01 Oct 2009 12:48:07 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Cc: david@vizion2000.net Subject: Re: Looking up libraries and header files Message-ID: <44bpkrysag.fsf@be-well.ilk.org> In-Reply-To: <529486569750436B97C259AC2D363D7F@sleuth64> (David Southwell's message of "Thu, 1 Oct 2009 07:53:14 -0700") References: <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64> <20091001140724.GA27416@brisbane.nepharia.org> <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> <529486569750436B97C259AC2D363D7F@sleuth64>
next in thread | previous in thread | raw e-mail | index | archive | help
"David Southwell" <david@vizion2000.net> writes: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of >> David Southwell >> Sent: 01 October 2009 07:50 >> To: 'Mak Kolybabi' >> Cc: freebsd-questions@freebsd.org >> Subject: RE: Looking up libraries and header files >> >> >> >> > -----Original Message----- >> > From: owner-freebsd-questions@freebsd.org >> > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of >> Mak Kolybabi >> > Sent: 01 October 2009 07:07 >> > To: david@vizion2000.net >> > Cc: freebsd-questions@freebsd.org >> > Subject: Re: Looking up libraries and header files >> > >> > On 2009-10-01 06:59, david@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@kolybabi.com> >> Thanks Mat >> >> Now I have two solutions for the price of one question >> >> Brill!! > OK > > One problem > > How about ports that are not installed? > > Is there another route that will deal with stuff not on the system? > > David You can search the pkg-plist files in the ports tree. This won't work for ports that build a dynamic plist, but those are fairly unusual among library ports. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44bpkrysag.fsf>