> -----Original Message-----
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Greg Larkin
> Sent: 01 October 2009 07:08
> To: da...@vizion2000.net
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Looking up libraries and header files
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> da...@vizion2000.net wrote:
> > Hi
> > 
> > What is the simplest way to found out which port installs specific 
> > harder or library files?
> > 
> > ATM I do it through a google search on the file name and 
> usually find 
> > a clue.. but I suspect there ia better mousetrap!! <chuckles>
> > 
> > Thanks in advance
> > David
> > 
> 
> Hi David,
> 
> pkg_which will do what you want:
> 
> # pkg_which /usr/local/include/librsync.h [Updating the pkgdb 
> <format:bdb_btree> in /var/db/pkg ... - 289 packages found 
> (-1 +1) (...). done]
> librsync-0.9.7_1
> #
> 
> Cheers,
> Greg
> - --
> Greg Larkin
Thanks Greg

U R on the ball as usual!
> 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to