public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Updating libpng:  another libtool cockup?
@ 2011-09-18 20:10 walt
  2011-09-18 20:48 ` Michael Mol
                   ` (3 more replies)
  0 siblings, 4 replies; 34+ messages in thread
From: walt @ 2011-09-18 20:10 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2011-09-20 12:58 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-18 20:10 [gentoo-user] Updating libpng: another libtool cockup? walt
2011-09-18 20:48 ` Michael Mol
2011-09-18 20:57 ` Thanasis
2011-09-18 21:54   ` Mick
2011-09-18 21:58 ` Allan Gottlieb
2011-09-18 23:39   ` Alan McKinnon
2011-09-19 10:06     ` [gentoo-user] " walt
2011-09-19 14:10       ` Alan McKinnon
2011-09-19 14:20         ` Allan Gottlieb
2011-09-19 14:34           ` Michael Schreckenbauer
2011-09-19 14:58             ` [gentoo-user] Re: Updating libpng: another lib tool cockup? Allan Gottlieb
2011-09-19 15:19               ` Michael Schreckenbauer
2011-09-19 15:28               ` Alan McKinnon
2011-09-19 15:49                 ` Michael Schreckenbauer
2011-09-19 15:49               ` Paul Hartman
2011-09-19 17:57                 ` Allan Gottlieb
2011-09-19 18:19                   ` Paul Hartman
2011-09-19 20:08                     ` Allan Gottlieb
2011-09-20 10:38                   ` Neil Bothwick
2011-09-20 12:57                     ` Allan Gottlieb
2011-09-19 16:30               ` covici
2011-09-19 14:36           ` [gentoo-user] Re: Updating libpng: another libtool cockup? Michael Mol
2011-09-19 20:33             ` Mark Knecht
2011-09-19 20:41               ` Michael Mol
2011-09-19 20:52                 ` Mark Knecht
2011-09-19 21:10                   ` Michael Schreckenbauer
2011-09-19 21:28                     ` Mark Knecht
2011-09-19 15:07         ` walt
2011-09-19 15:49         ` David W Noon
2011-09-19 20:54           ` Peter Humphrey
2011-09-19 22:29             ` covici
2011-09-20 10:41               ` Neil Bothwick
2011-09-19 14:06     ` [gentoo-user] " Allan Gottlieb
2011-09-19 21:04 ` [gentoo-user] " Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox