I encountered a few of kde or qt apps look for /usr/kde/x/lib64 or /usr/qt/3/lib64 in 64 bit environment ie karamba the comfiguration process will fail without these dirs/symlinks. So i think it is a good time to link the lib dirs to lib64 right after the installation of those libraries (kdes and qt). checking for Qt... libraries /usr/qt/3/lib64, headers /usr/qt/3/include using -mt checking if Qt compiles without flags... no checking for moc... /usr/qt/3/bin/moc checking for uic... /usr/qt/3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /usr/kde/3.1/lib64, headers /usr/kde/3.1/include Reproducible: Always Steps to Reproduce: 1. 2. 3. localsystem pts/0 karamba # emerge info Portage 2.0.49-r20 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-2) ================================================================= System uname: 2.6.0-2 x86_64 5 Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -m64 -pipe -s -fomit-frame-pointer -fforce-addr" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -m64 -pipe -s -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync1.uk.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa amd64 apm avi berkdb bindist cdr crypt cups dga dvd encode foomaticdb gdbm gif gtk gtk2 gtkhtml imlib jpeg libg++ libwww lm_sensors mikmod mitshm mmx mozilla mpeg multilib ncurses nptl objprelink oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse sse2 ssl tcpd tiff truetype ungif wmf xml xml2 xmms xv zlib"
This bug is another duplicate of bug # 36546. So karamba is another candidate for the list of KDE ebuilds, which needs the config patch and changed ebuild according to bug # 36546.
Tested karamba-0.17-r1, works fine. This is a pretty dated bug report.