Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 21:31:38 -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:  <1361165498.12505.YahooMailClassic@web164003.mail.gq1.yahoo.com>
In-Reply-To: <20130217172125.GA63086@spectrum.skysmurf.nl>

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


--- 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 library?
>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 
> which port(s) install which libraries?

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

>AvW

None of these replies mention
pkg which /usr/local/lib/libfoobar.so
pkg_which /usr/local/lib/libfoobar.so 
...
I typically use one or both (still using /var/db/pkg after running pkg2ng once a
long time ago...) 

J. Bouquet



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