Date: Thu, 01 Oct 2009 10:08:09 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: david@vizion2000.net Cc: freebsd-questions@freebsd.org Subject: Re: Looking up libraries and header files Message-ID: <4AC4B7C9.7040104@FreeBSD.org> In-Reply-To: <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64> References: <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 david@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 http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKxLfI0sRouByUApARAoBAAJ4k8Ypua7VjFNPk19CnGr1EKrpz8ACglQQm UVP8gTXBr15nr6DPt95pT+c= =+ij6 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC4B7C9.7040104>