I get the following error when I try to emerge kdelibs-3.1.4: Making all in ldap make[4]: Entering directory `/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kabc/plugins/ldap' /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kabc -I../../../dcop -I../../../libltdl -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i586 -m3dnow -O2 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o resourceldap.lo `test -f 'resourceldap.cpp' || echo './'`resourceldap.cpp /usr/qt/3/bin/moc ./resourceldapconfig.h -o resourceldapconfig.moc /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kabc -I../../../dcop -I../../../libltdl -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i586 -m3dnow -O2 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o resourceldapconfig.lo `test -f 'resourceldapconfig.cpp' || echo './'`resourceldapconfig.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i586 -m3dnow -O2 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o kabc_ldap.la.closure kabc_ldap_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -module -no-undefined -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -lldap -llber -lresolv resourceldap.lo resourceldapconfig.lo ../../libkabc.la ../../../kdeui/libkdeui.la /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.1/../../../../i586-pc-linux-gnu/bin/ld: cannot find -lkrb4 collect2: ld returned 1 exit status make[4]: *** [kabc_ldap.la.closure] Error 1 make[4]: Leaving directory `/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kabc/plugins/ldap' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kabc/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kabc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. emerge kdelibs 2. 3. Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 VIA Samuel 2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-march=i586 -m3dnow -O2 -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i586 -m3dnow -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib alsa gdbm berkdb slang readline arts tetex aalib ggi tcltk java ruby mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl ldap snmp 3dnow 3ds aavm acl acpi apache2 artswrappersuid athena atlas cscope curl dnd doc dvd emacs ethereal faad fbcon flash fltk fluidsynth gd gtk2 imagemagick imap innodb jack jack-tmpfs joystick -kerberos -krb4 ladcca lcms leim mbox mcal md5sum moznocompose moznoirc moznomail mpi nptl objc odbc parse-clocks pda php pic plotutils ppds samba sasl skey slp sox sqlite sse tiff transcode type1 usb videos vim-with-x wmf wxwindows X509 Xaw3d xml xvid -apm -gnome -svga -xmms -esd"
I have that with kdeaddons: /qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -no-undefined `/usr/bin/sdl-config --libs` madness.lo -lkio -lnoatun -lm libtool: link: cannot find the library `' make[3]: *** [noatunmadness.la.closure] Error 1 make[3]: Leaving directory `/mnt/reiser/var/tmp/portage/kdeaddons-3.1.4/work/kdeaddons-3.1.4/noatun-plugins/noatunmadness' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/reiser/var/tmp/portage/kdeaddons-3.1.4/work/kdeaddons-3.1.4/noatun-plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/reiser/var/tmp/portage/kdeaddons-3.1.4/work/kdeaddons-3.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdeaddons-3.1.4 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make
Fixed!! it was libsdl read here: http://forums.gentoo.org/viewtopic.php?t=51555 i remerged libsdl and now its ok
I've fixed mine as well. I re-emerged openldap and kdelibs compiled fine.
author says it's fixed