From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R5Qyc-0001S8-Nf for garchives@archives.gentoo.org; Sun, 18 Sep 2011 23:40:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7BDE21C12F; Sun, 18 Sep 2011 23:40:36 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9873421C055 for ; Sun, 18 Sep 2011 23:39:42 +0000 (UTC) Received: by wyg36 with SMTP id 36so5393375wyg.12 for ; Sun, 18 Sep 2011 16:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=3VBLvP2Ox8XptxWRv7yqeC3NyilGcv9Ah3Rwx0pMdO4=; b=lL2/o7GiUnpqdx8NJYj0I3K8b9Q/RKAxt0Y1c2gwo3b6DiC9HShV3PVm6Z+vGc5k+n Pfp4GqeNqqK0PWrctl02iYhtXd7cNXa9BqS6DsiVvbRz2qoTSgF0Ak6uhZMLd9UREqTq 7YrICy8Kwq+u+gSl8pUOg/PFf0YwYIl9XI4sY= Received: by 10.216.170.72 with SMTP id o50mr1871602wel.103.1316389181728; Sun, 18 Sep 2011 16:39:41 -0700 (PDT) Received: from rohan.example.com (196-210-153-55.dynamic.isadsl.co.za. [196.210.153.55]) by mx.google.com with ESMTPS id gd6sm23398225wbb.1.2011.09.18.16.39.39 (version=SSLv3 cipher=OTHER); Sun, 18 Sep 2011 16:39:40 -0700 (PDT) Date: Mon, 19 Sep 2011 01:39:35 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Updating libpng: another libtool cockup? Message-ID: <20110919013935.0561a762@rohan.example.com> In-Reply-To: References: Organization: Internet Solutions X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 472517a37674af17a524dff7e7900246 On Sun, 18 Sep 2011 17:58:14 -0400 Allan Gottlieb wrote: > On Sun, Sep 18 2011, walt wrote: > > > I just did a routine update on my ~amd64 machine and saw the portage > > warning that libpng14 has been replaced by libpng15, and I should > > run revdep-rebuild --library '/usr/lib/libpng14.so' and then delete > > the obsolete library. > > > > After that I ran plain revdep-rebuild as I do after every update, > > and saw that two gnome packages failed to rebuild properly because > > lpng14 couldn't be found :/ > > > > From painful experience I've learned that good-old libtool files > > (*.la) are the usual suspects, and grep found -lpng14 in about > > ten .la files even after both revdep-rebuilds. Grrr! > > > > This fixed the problem for me (as similar moves have done in the > > past): > > > > #find /usr/lib64 -name \*.la -exec sed -i s/png14/png15/ '{}' ';' > > Thanks for the tip. I wonder when a routing update world tells you to > run > revdep-rebuild --library > should you run it before or after the normal > revdep-rebuild > that we normally run after updates? Neither. revdep-rebuild checks everything, revdep-rebuild --library checks just some things. ebuilds sometimes issue messages to check just the libraries known to have been updated, but a full revdep-rebuild after an update will catch those anyway. -- Alan McKinnnon alan.mckinnon@gmail.com