Gentoo Archives: gentoo-user

From: liu shukui <liushukuicn1771@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge xchat fails
Date: Thu, 19 Aug 2010 06:36:31
Message-Id: AANLkTik3of_X57xxTHAxUeik9bHh_DWLSoVXqbb2ogFL@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge xchat fails by Gregory Shearman
1 I faced the same problem, thank you.
2
3 On Mon, Aug 16, 2010 at 10:19 AM, Gregory Shearman <zekeyg@×××××.com> wrote:
4 > In linux.gentoo.user, you wrote:
5 >> I have xchat installed.  An update is failing to install with error:
6 >>
7 >> libtool: link: cannot find the library `/usr/lib/libpng12.la' or unhandled
8 >> argument `/usr/lib/libpng12.la'
9 >>
10 >> libpng is installed:
11 >>
12 >> /usr/lib$eix libpng
13 >> [I] media-libs/libpng
14 >>      Available versions:
15 >>         (1.2)   1.2.44
16 >>         (0)     1.4.3
17 >>      Installed versions:  1.2.44(1.2)(06:16:49 PM 07/01/2010) 1.4.3(06:15:21
18 >> PM 07/01/2010)
19 >>
20 >> Checking the lib directory, I find:
21 >>
22 >> /usr/lib/$ls libpng*
23 >> libpng12.so.0  libpng14.a  libpng14.la  libpng14.so  libpng14.so.14
24 >> libpng14.so.14.3.0  libpng.a  libpng.la  libpng.so
25 >>
26 >> Any suggestions on how I go about fixing this?
27 >
28 > Have you run:
29 >
30 > # lafilefixer --justfixit
31 >
32 > It looks like the libpng update has removed /usr/lib/libpng12.la and
33 > /usr/lib/libpng.la is probably referencing this file. lafilefixer should
34 > fix this.
35 >
36 > You're running with both libpng 1.2 and libpng 1.4 installed. May I
37 > suggest you read:
38 >
39 > http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update
40 >
41 > Do you keep a log of emerge messages so that you can fix these issues
42 > as they arise?
43 >
44 > The file /usr/share/portage/config/make.conf.example gives examples of
45 > how to store all messages generated during an emerge update. These
46 > messages can save you a lot of grief later on.
47 >
48 > --
49 > Regards,
50 >
51 > Gregory.
52 >
53 >