From owner-freebsd-ports@FreeBSD.ORG Mon Feb 18 09:01:24 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 379A712B for ; Mon, 18 Feb 2013 09:01:24 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x232.google.com (mail-ia0-x232.google.com [IPv6:2607:f8b0:4001:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id 03388654 for ; Mon, 18 Feb 2013 09:01:23 +0000 (UTC) Received: by mail-ia0-f178.google.com with SMTP id y26so4900588iab.23 for ; Mon, 18 Feb 2013 01:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8HrsUU3ZmwpndEHUSzvU11lyPSxIgip2o63W83183SU=; b=qUb0mPw2xRYq29SZd+NNBT+3ueDGX6IJ8LDXJbVSsu9Vq896Cp8fjMfcGytc5Bj6ch UeO6zdaawuCVJiTXNPF0PT0g4HXkIjTaR35V94PdlFZvcNGdKQZPoGotglW7czi0rXYG tJncAMGmEzWSspvtG8PCVlUZKXB6DM6t9w1rrvopS88pZnqBGD7Lu0kzpwsNi73bMj5J sm0Fh2OmQ0eBKj9vThUyN3OKuPSizBLeEiJANVqxaC8c1SFicIlyxHnZQSKgQm9+Pn+m 8UXh/H4CHBQrTCP7h8XrKLZ98YAyACxHgmcugm+nSzZ+0UGwn2QTwERqtRfiI0YQCuI0 SMJw== MIME-Version: 1.0 X-Received: by 10.50.13.175 with SMTP id i15mr6367211igc.75.1361178082841; Mon, 18 Feb 2013 01:01:22 -0800 (PST) Received: by 10.64.63.12 with HTTP; Mon, 18 Feb 2013 01:01:22 -0800 (PST) Received: by 10.64.63.12 with HTTP; Mon, 18 Feb 2013 01:01:22 -0800 (PST) In-Reply-To: <1361165498.12505.YahooMailClassic@web164003.mail.gq1.yahoo.com> References: <20130217172125.GA63086@spectrum.skysmurf.nl> <1361165498.12505.YahooMailClassic@web164003.mail.gq1.yahoo.com> Date: Mon, 18 Feb 2013 09:01:22 +0000 Message-ID: Subject: Re: Is there an easy way to find out which port loads which library? From: Chris Rees To: Jeffrey Bouquet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 09:01:24 -0000 On 18 Feb 2013 05:35, "Jeffrey Bouquet" wrote: > > > > --- On Sun, 2/17/13, A.J. 'Fonz' van Werven wrote: > > >From: A.J. 'Fonz' van Werven > >Subject: Re: Is there an easy way to find out which port loads which library? > >To: "Bernard Higonnet" > >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...) Why??? Chris