On 22 September 2011 00:18, Florian Philipp <li...@binarywings.net> wrote: > Am 22.09.2011 07:56, schrieb Mick: >> On Wednesday 21 Sep 2011 23:02:02 Hilco Wijbenga wrote: >>> Hi all, >>> >>> I'm trying to install Graphviz but I get: >>> >>> centaur ~ # emerge graphviz >>> </snip> >>> make[3]: Entering directory >>> `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin/ >>> gd' CC gvplugin_gd.lo >>> CC gvrender_gd.lo >>> CC gvrender_gd_vrml.lo >>> CC gvtextlayout_gd.lo >>> CC gvloadimage_gd.lo >>> CC gvdevice_gd.lo >>> CCLD libgvplugin_gd_C.la >>> CCLD libgvplugin_gd.la >>> /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: >>> cannot find -lpng14 >>> </snip> >>> >>> Even though I have libpng-1.4.8-r2 installed: >>> >>> centaur ~ # eix media-libs/libpng >>> [I] media-libs/libpng >>> Available versions: >>> (1.2) 1.2.45 (~)1.2.46 >>> (0) 1.4.8 (~)1.4.8-r1 (~)1.5.4 >>> (1.4) (~)1.4.8-r2 >>> {apng static-libs} >>> Installed versions: 1.2.46(1.2)(02:17:28 PM 21/09/11) >>> 1.4.8-r2(1.4)(02:17:42 PM 21/09/11)(apng) 1.5.4(02:45:21 PM >>> 21/09/11)(apng -static-libs) >>> Homepage: http://www.libpng.org/ >>> Description: Portable Network Graphics library >>> >>> Is there something I can do about this? Or is it a bug in the ebuild? >> >> Did you try: >> >> emerge -v -p --library '/usr/lib/libpng14.so' >> >> and then revdep-rebuild just for good measure? >> >> If the above doesn't work, then you'll need to search in Gentoo's bugzilla in >> case something similar has already been reported. >> > > This reminds me of the old libpng-1.4/1.2 update mess.[1] You are not > far behind your update schedule, are you?
No, I'm fully up-to-date. Although, I've been using --changed-use and maybe I shouldn't since it doesn't seem to be foolproof. > For good measure, try `lafilefixer --justfixit` from > dev-util/lafilefixer and search your system for references to libpng-1.2. That did nothing. In fact, I followed Diego's advice and added lafilefixer to /etc/portage/bashrc during the libpng crisis so that's not unexpected. > Hope this helps, > Florian Philipp > > [1] http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update I ran emerge -v world overnight and although it ran out of space before it could finish, apparently that was enough. I was able to emerge graphviz just now. So I'm unclear what exactly was wrong. Should I not use --changed-use when emerge-ing world?