Alex Schuster <wo...@wonkology.org> writes: > 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?
Thanks for your reply, but I guess it will remain a puzzle... I did so many things fussing with libpng... I'm not sure what fixed it in the end. One of them was to redo installing both libpng version all over again, by emerge -vC libpng completely then installing again making sure to install 1.4 first, and 1.2 in the slot. But also used `lafilefixer -justfixit' Not to mention Neils fix with the nifty regular expressions. Also a revdep-rebuild in there. At some point I was able to startx... (A libpng 1.2 error had been stopping X from starting) and finish the rest from X. (getting the xfce pkgs to install finally.) I kept having the nagging feeling I might have originally had the libpng version in the wrong order... I'm not sure if that is even possible though.