From owner-freebsd-stable@FreeBSD.ORG Wed Dec 12 23:17:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0E5CF17 for ; Wed, 12 Dec 2012 23:17:41 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 89FED8FC0A for ; Wed, 12 Dec 2012 23:17:40 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TivYf-0001vu-EZ for freebsd-stable@freebsd.org; Thu, 13 Dec 2012 00:17:45 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2012 00:17:45 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Dec 2012 00:17:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Walter Hurry Subject: Re: Will we get a RELEASE-9.1 for Christmas? Date: Wed, 12 Dec 2012 23:17:20 +0000 (UTC) Lines: 51 Message-ID: References: <201212090318.UAA11257@lariat.net> <50C412F6.7040300@sdf.org> <201212090526.26535.lumiwa@gmail.com> <50C8CF77.2040102@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 23:17:41 -0000 On Wed, 12 Dec 2012 18:39:51 +0000, Matthew Seaman wrote: > On 12/12/2012 17:38, Kevin Oberman wrote: >> If you use pkgng, please try editing /usr/local/sbin/pkg_libchk to >> replace "pkg_info" with "pkg info" in all locations and let me know how >> it works, . I'm hoping that will make it work with pkgng, but I have no >> way to check as I can't currently use pkgng on any of my systems, yet. > > I'd like to draw people's attention to one of the newer capabilities of > pkgng as it's directly relevant to this problem. You can use pkgng to > track which shared libraries are used by binaries in all packages. > Shared library use is determined by analysing the dynamic loading > information recorded in ELF binaries -- either executables or shared > libraries -- so it's pretty reliable. > > The feature is turned off by default, but you can enable it by adding: > > SHLIBS: YES > > to ${LOCALBASE}/etc/pkg.conf and then generate the shlib info by: > > pkg check -Ba > > This will take a while on a system with lots of packages installed: it > will investigate every file installed by every package. If you aren't > using a repo where the shlibs function is enabled, you'll have to use > pkg check thike this on any new pkgs you subsequently install. > > Then, for example, you can find all the pkgs with files that link > against, say, libssh2 by: > > worm:~:% pkg query -a "%n-%v %B" | grep libssh2 curl-7.24.0_1 > libssh2.so.1 That looks like a useful feature. But why is it saying this? pkg: (firefox-17.0.1,1) shared library libxpcom.so not found pkg: (firefox-17.0.1,1) shared library libmozalloc.so not found (lots more output snipped) $ locate libxpcom.so /usr/local/lib/firefox/libxpcom.so $ locate libmozalloc.so /usr/local/lib/firefox/libmozalloc.so $ file /usr/local/lib/firefox/libxpcom.so /usr/local/lib/firefox/libxpcom.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped $ file /usr/local/lib/firefox/libmozalloc.so /usr/local/lib/firefox/libmozalloc.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped $