From owner-freebsd-ports@FreeBSD.ORG Mon Jun 15 10:55:18 2009 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 8A611106564A for ; Mon, 15 Jun 2009 10:55:18 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 492E18FC18 for ; Mon, 15 Jun 2009 10:55:17 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.116.16.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 045E98A01DE; Mon, 15 Jun 2009 12:55:15 +0200 (CEST) Message-ID: <4A36288D.2080402@bsdforen.de> Date: Mon, 15 Jun 2009 12:55:09 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: Boris Samorodov References: <88733235@bb.ipt.ru> In-Reply-To: <88733235@bb.ipt.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org Subject: Re: pkg_libchk: a missing library is not detected 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: Mon, 15 Jun 2009 10:55:18 -0000 Sorry for the late reply, this was auto-sorted into the ports@ mails and drowned there. Boris Samorodov wrote: > Hi! > > > Seems to me like a bug at pkg_libchk: > ----- > % eog > /libexec/ld-elf.so.1: Shared object "libgnome-desktop-2.so.7" not found, required by "eog" > % ldd `which eog` | grep found > libgnome-desktop-2.so.7 => not found (0x0) > % pkg_libchk -vc eog\* This just means that it's an indirect dependency, meaning that updating eog wouldn't do any good, but a dependency needs to be updated. pkg_libchk only displays direct library missings, so the result is not everything affected, but instead only everything that needs fixing. > % pkg_info -xI bsdadmin > bsdadminscripts-6.1.1 A collection of administration scripts > % > ----- > > BTW, the library libgnome-desktop-2.so.7 was replaced by a new one > libgnome-desktop-2.so.11 while updating: > ----- > 1244027909 - Wed Jun 3 15:18:29 MSD 2009 - DONE: Update to (x11/gnome-desktop) > ----- > > As I understand pkg_upgrade does not preserve old libraries at > /usr/local/lib/compat? That's true. I consider this common approach a security risk. I suggest running pkg_libchk -a and reinstalling the packages listed by it to fix that. Mostly dependent ports get version bumped if they depend on a library that was changed. Unfortunately this doesn't always happen. To ensure that you get the newest packages wipe /usr/ports/packages/All. > > > WBR