Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 21:33:55 -0800 (PST)
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Is there an easy way to find out which port loads which library?
Message-ID:  <1361165635.5952.YahooMailClassic@web164005.mail.gq1.yahoo.com>
In-Reply-To: <1361165498.12505.YahooMailClassic@web164003.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--- On Sun, 2/17/13, Jeffrey Bouquet <jeffreybouquet@yahoo.com> wrote:

From: Jeffrey Bouquet <jeffreybouquet@yahoo.com>
Subject: Re: Is there an easy way to find out which port loads which librar=
y?
To: freebsd-ports@freebsd.org
Date: Sunday, February 17, 2013, 9:31 PM



--- On Sun, 2/17/13, A.J. 'Fonz' van Werven <fonz@skysmurf.nl> wrote:

>From: A.J. 'Fonz' van Werven <fonz@skysmurf.nl>
>Subject: Re: Is there an easy way to find out which port loads which libra=
ry?
>To: "Bernard Higonnet" <bthcom@higonnet.net>
>Cc: freebsd-ports@freebsd.org
>Date: Sunday, February 17, 2013, 9:21 AM

>Bernard Higonnet wrote:

> Is there a simple, direct, complete, and unequivocal way to find out=20
> which port(s) install which libraries?

>Something like this perhaps?
># grep libfoobar.so /usr/ports/*/*/pkg-plist

>AvW

None of these replies mention=A0=A0 [1]
pkg which /usr/local/lib/libfoobar.so
pkg_which=0A /usr/local/lib/libfoobar.so=20
...
I typically use one or both (still using /var/db/pkg after running pkg2ng o=
nce a
long time ago...)=20

J. Bouquet

[1] of course, the one next in the webmail queue did... which
always reads sort of backwards (newest first)...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361165635.5952.YahooMailClassic>