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 1R5Nig-0005qa-Ft for garchives@archives.gentoo.org; Sun, 18 Sep 2011 20:12:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37D5821C1FB; Sun, 18 Sep 2011 20:11:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 940A821C12F for ; Sun, 18 Sep 2011 20:10:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 23CB11B4011 for ; Sun, 18 Sep 2011 20:10:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -5.016 X-Spam-Level: X-Spam-Status: No, score=-5.016 required=5.5 tests=[AWL=1.583, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MIh-deAYtr3g for ; Sun, 18 Sep 2011 20:10:48 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 4C21C1B400B for ; Sun, 18 Sep 2011 20:10:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R5NhL-0000H1-UB for gentoo-user@gentoo.org; Sun, 18 Sep 2011 22:10:43 +0200 Received: from adsl-69-234-193-168.dsl.irvnca.pacbell.net ([69.234.193.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Sep 2011 22:10:43 +0200 Received: from w41ter by adsl-69-234-193-168.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Sep 2011 22:10:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Updating libpng: another libtool cockup? Date: Sun, 18 Sep 2011 13:10:25 -0700 Message-ID: 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=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-193-168.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110831 Thunderbird/6.0 X-Archives-Salt: X-Archives-Hash: 1d02e7617305d6a20ade81e6b8720703 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. I confess I wasn't watching, so I may have missed 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. 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/ '{}' ';' 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.