Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: libpng12 is missing
Date: Tue, 11 May 2010 23:48:21
Message-Id: hscq95$5vm$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: libpng12 is missing by Alan McKinnon
1 On 05/11/2010 04:39 AM, Alan McKinnon wrote:
2 > On Tuesday 11 May 2010 12:15:06 Neil Bothwick wrote:
3 >> On Tue, 11 May 2010 10:47:35 +0200, Alan McKinnon wrote:
4 >>> I still have huge breakage with gnomecanvas and other things, meaning
5 >>> that lots of gtk apps are broken right now for me.
6 >>
7 >> This worked for me
8 >>
9 >> lafilefixer --justfixit
10 >> emerge --oneshot --jobs 1 --keep-going $(qfile -qC $(find /usr/lib64 \
11 >> -name '*.la' | xargs grep -- -lpng12 | awk -F: '{print $1}'))
12 >>
13 >> You may need to run it more than once before it completes without errors.
14 >
15 >
16 > Several times more than just once actually. At the end dev-
17 > python/gtksourceview-python just refused to build.
18 >
19 > But I fixed that with USE=-gtk
20
21 Hey, what's a kde geek doing with gnome packages anyway :-p
22
23 The gentoo dev who updated libpng said (in the bug report) that the .la
24 files are causing the 'png12 not found' error, so I just 'fixed' all of
25 them this way (basically Neil's way only different):
26
27 #find /usr/lib/ -name \*.la -exec sed s/png12/png14/ -i '{}' \;
28
29 Only *then* would revdep-rebuild finish rebuilding all the broken packages
30 without crapping out. (The dev had some affectionate words to say about
31 libtool that gave me a chuckle.)

Replies

Subject Author
Re: [gentoo-user] Re: libpng12 is missing Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Re: libpng12 is missing Neil Bothwick <neil@××××××××××.uk>