I have a problem updating to kde-3.4.1 using "emerge -u world". here's the output of the problem: .libs/database.o(.text+0x1d24): In function `DataBaseManager::openDataBase()': : undefined reference to `db_create_4001' .libs/database.o(.text+0x1d3f): In function `DataBaseManager::openDataBase()': : undefined reference to `db_create_4001' .libs/database.o(.text+0x1d5f): In function `DataBaseManager::openDataBase()': : undefined reference to `db_create_4001' .libs/database.o(.text+0x2c03): In function `DataBaseManager::openDataBase()': : undefined reference to `db_create_4001' .libs/database.o(.text+0x3ac5): In function `DataBaseManager::createDataBase(QString, QString, int)': : undefined reference to `db_create_4001' .libs/database.o(.text+0x3d3f): more undefined references to `db_create_4001' follow collect2: ld returned 1 exit status make[5]: *** [kbabeldict_dbsearchengine.la] Error 1 make[5]: Leaving directory `/var/tmp/portage/kdesdk-3.4.1/work/kdesdk-3.4.1/kbabel/kbabeldict/ modules/dbsearchengine' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdesdk-3.4.1/work/kdesdk-3.4.1/kbabel/kbabeldict/ modules' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdesdk-3.4.1/work/kdesdk-3.4.1/kbabel/kbabeldict' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdesdk-3.4.1/work/kdesdk-3.4.1/kbabel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdesdk-3.4.1/work/kdesdk-3.4.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdesdk-3.4.1 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make here's the output of emerge --info: zeitgeist ~ # emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.9 i686) =============================================================== == System uname: 2.6.11.9 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 21:02:59)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.5, 1.6.3, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/ kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/ 3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/ dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/ texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/ http:// ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dmx dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gphoto2 gpm gtk2 imagemagick imap imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib pear perl png python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY and here's the output of "emerge -u world -p": zeitgeist ~ # emerge -u world -p These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild NS ] kde-base/kdesdk-3.4.1 [ebuild U ] app-arch/gzip-1.3.5-r8 [1.3.5-r7] [ebuild U ] app-text/acroread-7.0.0.2-r2 [5.10] [ebuild U ] sys-boot/lilo-22.7 [22.6.1-r1] [ebuild NS ] kde-base/kdeartwork-3.4.1 [ebuild NS ] kde-base/kdepim-3.4.1-r1 [ebuild NS ] kde-base/kdegames-3.4.1 [ebuild NS ] kde-base/kdeutils-3.4.1 [ebuild U ] app-text/xpdf-3.00-r8 [3.00-r7] [ebuild U ] media-gfx/sane-backends-1.0.15 [1.0.14-r6] [ebuild U ] media-libs/lcms-1.13-r1 [1.13] [ebuild NS ] kde-base/kdegraphics-3.4.1 [ebuild NS ] kde-base/kdeedu-3.4.1 [ebuild N ] app-crypt/qca-1.0-r2 [ebuild U ] app-crypt/qca-tls-1.0-r2 [1.0] [ebuild NS ] kde-base/kdenetwork-3.4.1 [ebuild U ] media-libs/tunepimp-0.3.0-r1 [0.3.0] [ebuild U ] media-libs/taglib-1.3.1 [1.2] [ebuild NS ] kde-base/kdemultimedia-3.4.1-r1 [ebuild NS ] kde-base/kdetoys-3.4.1 [ebuild NS ] kde-base/kdeadmin-3.4.1 [ebuild NS ] kde-base/kdeaddons-3.4.1 [ebuild NS ] kde-base/kde-3.4.1 [ebuild U ] sys-apps/kbd-1.12-r5 [1.12-r4] [ebuild U ] sys-kernel/linux-headers-2.6.8.1-r4 [2.6.8.1-r2] [ebuild U ] net-analyzer/tcpdump-3.8.3-r4 [3.8.3-r3] Reproducible: Always Steps to Reproduce: 1. emerge -u world 2. 3.
Can you check that the symlinks /usr/include/db.h and /usr/lib/libdb.so point to the same version of db? If not, you can try reemerging sys-libs/db.
Yes, you need to emerge sys-libs/db and try again.
thank you, that worked very well