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 1R5OIw-0004bb-4P for garchives@archives.gentoo.org; Sun, 18 Sep 2011 20:49:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64FB721C1F9; Sun, 18 Sep 2011 20:49:18 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3540521C058 for ; Sun, 18 Sep 2011 20:48:26 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so6734164bkb.40 for ; Sun, 18 Sep 2011 13:48:26 -0700 (PDT) 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:content-transfer-encoding; bh=cnwEidQ1srwy2K8sd4EztTreaPKeD+p3Yk3+oGm0X8g=; b=t1TymjNNkpIWk7EiDWsbSLZYAMUtU6fW5XPRFpC5d+5BD7s3EY+xM8H5DvqB5PhlKf iEskA0c7cdHw0sR1a+KRlQ3/IKOJVCzsjs+p8w6qtx1zbm4hss2A3c9UaeNWwT2hUeGK u9gJpZPfNNJPqHNhsy6yKcJ0pXCdXK/I6pvFI= 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 Received: by 10.204.0.70 with SMTP id 6mr1031520bka.258.1316378906166; Sun, 18 Sep 2011 13:48:26 -0700 (PDT) Received: by 10.204.177.199 with HTTP; Sun, 18 Sep 2011 13:48:26 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Sep 2011 16:48:26 -0400 Message-ID: Subject: Re: [gentoo-user] Updating libpng: another libtool cockup? From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 25934542cec3f0c8e16dd1103d93f467 On Sun, Sep 18, 2011 at 4:10 PM, 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. > > That's what I did. =C2=A0I confess I wasn't watching, so I may have misse= d > some important errors during the run. > > 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. =C2=A0Grrr! > > 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/ '{}' ';' > > I ran revdep-rebuild again and the two broken packages emerged nicely > this time. > > I hope no one else will hit this problem, but at least this is a good > workaround if you do. If you're not following Diego Petten=C3=B2's blog, you probably should. .la files are one of the things he harps on in his blog. http://blog.flameeyes.eu/ --=20 :wq