emerge says: [snip] checking for a BSD compatible install... /bin/install -c checking for install -d: /bin/install -c checking for library containing db_create... no checking for library containing db_open... no You need Berkeley DB2 or DB3 to compile libtabe. Please use --with-db-lib to configure. even though the ebuild correctly sets with-db-inc, with-db-lib, and with-db-bin. This does not seem to be a problem with the ebuild, as the same problem occurs if we run ./configure from the tarball manually. Removing excess ./configure options (ie, everything but the with-db-* options) doesn't help. DB3 is definitely installed (libtabe DEPENDs on it, and it was emerge'd directly before libtabe). For what it's worth, my system seems to have several versions of DB installed (db-1.85-r1, db-3.2.8-910, db-4.0.14-r2, and db-4.1.25_p1-r2), but from what I understand, they are designed to not interfere with each other. Reproducible: Always Steps to Reproduce: 1. emerge libtabe Actual Results: The configure portion fails with the message described above. Expected Results: Correctly emerge'd libtabe emerge --info: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" CHOST="i686-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="-O3 -march=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://www.zentek-international.com/mirrors/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ http://ftp.gentoo.or.kr/ http://203.16.234.19/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://203.16.234.19/pub/gentoo/ http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 apm avi cups encode foomaticdb gpm jpeg kde libg++ mad mikmod mpeg ncurses png quicktime truetype xml2 xv gdbm berkdb slang arts svga java tcpd pam libwww imlib qt motif alsa cjk crypt dvd esd gif gnome gtk gtk2 mmx mozilla nls oggvorbis opengl oss perl pdflib python readline sdl spell sse ssl tetex usb X xmms zlib"
The two versions of db3 I have checked sys-libs/db-3.2.9-r7 and sys-libs/db-3.2.9-r10 install libdb3 as libdb-3.so . The libtabe configure script only checks for -ldb and -ldb3. To fix this add this line as the first thing in src_compile(): sed -i -e "s:db3:db3 db-3:" configure
This bug has allready been solved somewhere else *** This bug has been marked as a duplicate of 32655 ***