How about "lafilefixer --justfixit" ? On Sep 23, 2011, at 2:54, Graham Murray <gmur...@webwayone.co.uk> wrote:
> On Thu, 2011-09-22 at 20:23 +0100, "Tóth Attila" wrote: >> I've suspected, that it won't be a torch-light procession. >> But reality exceeded my expectations. >> Around 60 packages failed out of approx 100! I've followed the >> ebuild's >> advice, that I leave the old library in place and revdep all packages >> linked to it. >> Acutally it would be better to remove the old library immediately, >> because >> a bunch of packages still tried to use -lpng14 for linking. In those >> case >> removing the old libs seems to help most of the time. But it will take >> another day to roll over the packages. >> Of course some packages will still fail. But it could spare me a day >> of >> useless compiles failing at the end while linking if I would have >> removed >> the old library for the first time. > > I found that the "problem" was .la files where the library does NOT link > in libpng but the .la file contains png14. Neither revdep-rebuild nor > 'emerge @preserver-rebuild' caught these and I had to manually identify > and re-emerge the packages whose .la files referenced png14. >