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 1ODYJL-0001vE-Ch for garchives@archives.gentoo.org; Sun, 16 May 2010 07:30:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC394E075B; Sun, 16 May 2010 07:30:13 +0000 (UTC) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by pigeon.gentoo.org (Postfix) with ESMTP id 84F70E075B for ; Sun, 16 May 2010 07:30:13 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta13.emeryville.ca.mail.comcast.net with comcast id J7WE1e0011bwxycAD7WEz2; Sun, 16 May 2010 07:30:14 +0000 Received: from [68.43.125.49] ([68.43.125.49]) by omta18.emeryville.ca.mail.comcast.net with comcast id J7WD1e003143vB08e7WDrF; Sun, 16 May 2010 07:30:14 +0000 Message-ID: <4BEF9F04.5000903@comcast.net> Date: Sun, 16 May 2010 03:30:12 -0400 From: Chris Walters User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: libpng12 is missing [TEMP SOLN] References: <201005111311.50405.peter@humphrey.ukfsn.org> <201005142028.50640.michaelkintzios@gmail.com> <201005142257.24335.michaelkintzios@gmail.com> <3A2B9172-E309-40A6-9F24-D173A1B4C49D@wright.org> In-Reply-To: <3A2B9172-E309-40A6-9F24-D173A1B4C49D@wright.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4d037b0d-ed69-426c-bf9e-931272b1c814 X-Archives-Hash: b485bcd2f4e7a493348a0a6fef285831 On 5/15/2010 11:06 AM, Roy Wright wrote: > Argh. Just have to vent a little. > > Bring up a new install on a system whose system disk died and was replaced with an SSD. OS installed no problems. Recovered my RAID5 and LVM JBOD volume (a GIANT THANK YOU to the mdadm and lvm2 folks!). Then first "weekly" update hits the libpng12 issue. No complaints, it's what I expect being at ~amd64 and the price I willing pay for the benefits of gentoo. Another THANK YOU to the lafilefixer folks and system is up. > > So on to my list a applications to be installed. Firefox check, openoffice check, handbrake...crap. Handbrake is one of the non-standard packages that includes their own version of support libraries. You guessed it, libpng12 dependent. Argh! > > Have fun, > Roy > I had the same problem with a 'missing' libpng12. There are 2 slots for libpng: slot 0 and slot 1.2. You DON'T want anything in the 1.2 slot. What you DO want is the lonely ebuild in the 0 slot. Why? It will create the libpng12.la file that is needed for packages to find the library. So this is what I did: 1. Ran "emerge -C libpng" to remove ALL versions of libpng that were installed. 2. Ran "emerge =libpng-1.2.43-r2". I believe that is the version of the slot 0 libpng. 3. Ran "lafilefixer --justfixit" -- just in case. 4. Re-emerged cairo to make sure it was linked to my newly installed libpng12 5. Belatedly realized that I should mask every version of libpng above the slot 0 one, and did so. 6. Ran "equery d libpng" from the 'gentoolkit' package. 7. Re-emerged everything on that list (even Open office - ugh). In step 7, everything compiled and installed just fine - no errors. >From what I can see, this looks like an upstream bug, where their source is coded to look only for libpng12, and nothing else. For me it would stop with an error during the linking phase, or right at the beginning (at least those packages had checks). I hope this helps someone. Chris