Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating libpng: another libtool cockup?
Date: Sun, 18 Sep 2011 21:59:00
Message-Id: yu9ipopy0ll.fsf@nyu.edu
In Reply to: [gentoo-user] Updating libpng: another libtool cockup? by walt
1 On Sun, Sep 18 2011, walt wrote:
2
3 > I just did a routine update on my ~amd64 machine and saw the portage
4 > warning that libpng14 has been replaced by libpng15, and I should run
5 > revdep-rebuild --library '/usr/lib/libpng14.so' and then delete the
6 > obsolete library.
7 >
8 > After that I ran plain revdep-rebuild as I do after every update, and
9 > saw that two gnome packages failed to rebuild properly because lpng14
10 > couldn't be found :/
11 >
12 > From painful experience I've learned that good-old libtool files (*.la)
13 > are the usual suspects, and grep found -lpng14 in about ten .la files
14 > even after both revdep-rebuilds. Grrr!
15 >
16 > This fixed the problem for me (as similar moves have done in the past):
17 >
18 > #find /usr/lib64 -name \*.la -exec sed -i s/png14/png15/ '{}' ';'
19
20 Thanks for the tip. I wonder when a routing update world tells you to
21 run
22 revdep-rebuild --library <some-lib>
23 should you run it before or after the normal
24 revdep-rebuild
25 that we normally run after updates?
26
27 thanks,
28 allan

Replies

Subject Author
Re: [gentoo-user] Updating libpng: another libtool cockup? Alan McKinnon <alan.mckinnon@×××××.com>