Harry Putnam writes: > Alex Schuster <wo...@wonkology.org> writes: > > After writing down some ideas about installing the old libraries > > somewhere in parallel, I just checked eix, and there is an extra > > slot for the 1.2 version. So, just emerge media-libs/libpng:1.2 , > > and I'd expect all to be fine then. > > Doesn't seem to be the case here. (Some details below), But do we have > a accepted way to handle this problem now?
When I wrote this, I did not really know much about this, I just spotted the 2nd slot. At that time, I also had a little libpng trouble, I could not update @world due to libpng blockers. I unmerged libpng, updated something that was blocking (don't remember what), and remerged libpng, because many applications were no longer working. I did the world update, ran lafilefixer --justfixit, emerged @preserved-libs, and had to do a revdep-rebuild, don't know why, I thought with FEATURES=preserve-libs this should no longer necessary. But in the end, everything is sane now. My eix output looks similar, I also have both 1.2.43-r3 and 1.4.2 installed. > But still some pkgs strike out from what appears to be libpng errors: > > Example: xfce-base/thunar-1.0.2, (Wrapped for mail) > (Emphasis added with asterisks -ed hp) > ------- --------- ---=--- --------- -------- > tail of emerge: > > ,---- > > | [...] > | > | /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../\ > | > | i686-pc-linux-gnu/bin/ld: > | **** cannot find -lpng12 **** Weird. I just tried that, and thunar-1.0.2 compiles just fine. Does /usr/lib/libpng12.so.0 exist on your system? But, wait a minute, my thunar links to libpng14.so.14, not to 1.2. Do you have /usr/lib/libpng14.so.14? Maybe lafilefixer -justfixit fixed something for me, and you should try this, too? Wonko