From owner-freebsd-ports@FreeBSD.ORG Wed Jan 18 23:14:56 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D6E5106564A for ; Wed, 18 Jan 2012 23:14:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 263008FC12 for ; Wed, 18 Jan 2012 23:14:55 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so4221954wib.13 for ; Wed, 18 Jan 2012 15:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kMeWgMJrlNevdq/ZTEcTFXrbgbKTdRR95Tkm/QXwVBk=; b=xWj5WJWvhkHTkQW1ERqveDd55naAxt9b6griADYRZHe9AY1Y6umdnMpdpv3IPzHUaJ wiM9L5rbcLvrOpR3mrBBYglWcv8q09Z8I7VaMSL2nPjifYYFtjuI1hOc5fYIawHofT5o N5ZQbwEHSuk9CZpaKsyjVlyiC/onqv12qxF0s= MIME-Version: 1.0 Received: by 10.180.95.131 with SMTP id dk3mr28790643wib.6.1326928495105; Wed, 18 Jan 2012 15:14:55 -0800 (PST) Received: by 10.223.101.196 with HTTP; Wed, 18 Jan 2012 15:14:55 -0800 (PST) In-Reply-To: References: Date: Wed, 18 Jan 2012 15:14:55 -0800 Message-ID: From: Kevin Oberman To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Correcting problems disclosed by pkg_libchk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 23:14:56 -0000 On Wed, Jan 18, 2012 at 5:02 AM, Carmel wrote: > On another thread I noticed a reference to "pkg_libchk". I was > interested in seeing what it would disclose on my system, so I ran it. > > pkg_libchk -Rrv > > It produced a great deal of output. This is one section dealing with > "Firefox" > > firefox-9.0.1,1: located: > /usr/local/lib/firefox/components/libbrowsercomps.so misses libmozalloc.so > found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: > /usr/local/lib/firefox/components/libdbusservice.so misses libmozalloc.so > found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/components/libmozgnome.so > misses libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/firefox-bin misses > libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/libsoftokn3.so misses > libmozsqlite3.so found at /usr/local/lib/firefox/libmozsqlite3.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/libxpcom.so misses > libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/libxul.so misses > libmozsqlite3.so found at /usr/local/lib/firefox/libmozsqlite3.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/libxul.so misses > libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/plugin-container misses > libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/sdk/lib/libxpcom.so > misses libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/sdk/lib/libxul.so misses > libmozsqlite3.so found at /usr/local/lib/firefox/libmozsqlite3.so. > firefox-9.0.1,1: located: /usr/local/lib/firefox/sdk/lib/libxul.so misses > libmozalloc.so found at /usr/local/lib/firefox/libmozalloc.so. > > If I am reading this correctly, the libmozalloc.so library is missing. I > have tried doing a forced re-install of Firefox, but the same condition > exists. Other packages have several libraries apparently missing also. > Since re-installing the port does not seem to alleviate the problem, > what is the prescribed method of correcting it? > > Thanks! > No, it is telling you that the files listed seem to miss the libraries re[ported, but that they were found in /usr/local/lib/firefox. Firefox does its own thing for finding its sharable libs, so /usr/local/lib/firefox is not in the loader hint, but firefox knows where they are and does load them. this is a side effect of -v. You asked for false positives and you got them. Oh, and specifying -R or -r is only relevant when a specific port is listed. 'pkg_libchk -Rrv' does nothing more than just 'pkg_libchk -v'. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com