During 'emerge -auv' and friends, gnome-base/libbonoboui-2.24.5 is slated for upgrade. After rounds of revdep-rebuild, lafilefixer, and re-merge of libbonoboui's dependencies, package still fails to build with: [...] /libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so -ldl -lpthread /usr/lib64/libORBit-2.so -lxml2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 /usr/lib64/libatk-1.0.so -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 /usr/lib64/libfontconfig.so -lfreetype -lz -lexpat -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lSM -lICE -lX11 -lpopt -march=athlon64 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libbonoboui-2.so.0 -o .libs/libbonoboui-2.so.0.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng14 collect2: ld returned 1 exit status make[2]: *** [libbonoboui-2.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-base/libbonoboui-2.24.5/work/libbonoboui-2.24.5/bonobo' [...] Reproducible: Always % emerge --info Portage 2.1.10.44 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r4, 2.6.31-gentoo-r6-mrj-20100218b x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-mrj-20100218b-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-gentoo-2.0.3 Timestamp of tree: Tue, 14 Feb 2012 03:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.2-r3, 3.1.4-r3 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo proaudio ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write=y" FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bonobo branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cli consolekit cracklib crypt cscope curl curlwrappers cxx dbus dri dts dvd dvdr dvdread emboss encode evo examples exif fam fbcon ffmpeg fftw firefox flac fltk foomatic fortran ftp gb gd gdbm gdu gif gmp gnome gnutls gphoto2 gpm graphviz gtk hal hvm iconv imagemagick innodb iodbc ipod ipv6 jabber jack java javascript jpeg jpeg2k kpathsea lash lcms libcaca libgda libnotify libsamplerate libwww lm_sensors mad maildir mbox mime mmap mmx mng modules mp3 mp4 mpeg mpi mplayer mudflap multilib musepack mysql mysqli nas ncurses netboot nocd nptl nptlonly nsplugin odbc offensive ofx ogg openal openexr opengl openmp osc oss pam pango pcre pdf perl php plotutils png policykit portaudio posix ppds pppd pulseaudio python qt3support quicktime rdesktop readline ruby samba sdl seamonkey session slang sndfile sockets speex spell sqlite srvdir sse sse2 ssl startup-notification svg sysfs syslog sysvipc tcpd tetex theora threads tidy tiff truetype udev unicode usb vhosts vim-syntax vorbis wmf x264 xattr xcb xcomposite xen xine xinerama xinetd xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
lafilefixer doesn't help with this case, but it's indeed a problem with .la files you have installed I guess you missed the news item in Portage: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-news/2011/2011-10-15-libpng15/2011-10-15-libpng15.en.txt?revision=57&view=markup *** This bug has been marked as a duplicate of bug 319101 ***