with : net-www/apache-2.0.55 dev-libs/apr-util-0.9.7 When starting apache2 I now get a : /usr/sbin/apache2: symbol lookup error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno I've compiled apr-util with or without the gdbm flag, I get the same problem. # ldd /usr/lib/libaprutil-0.so.0 libpthread.so.0 => /lib/libpthread.so.0 (0x000033b7437d7000) libc.so.6 => /lib/libc.so.6 (0x000033b7438ed000) /lib64/ld-linux-x86-64.so.2 (0x00000950192f5000) ^---- no gdbm in there, I suppose this is the problem --> I suppose it's an ebuild problem, as with or without the gdbm flag, I get the same ./configure line, which do not have any gdbm option: ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --datadir=/usr/share/apr-util-0 --with-apr=/usr --with-expat=/usr --with-dbm=db42 --with-berkeley-db=/usr/include/db4.2:/usr/lib64 Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-hardened-r2 x86_64) ================================================================= System uname: 2.6.13-hardened-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.osuosl.org/" LANG="fr_FR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X X509 a52 abook acl acpi alsa amuled anthy apache2 avi bash-completion bcp berkdb bitmap-fonts bjam bonobo bzip2 cdda cdio cdr chroot cpudetection cracklib crypt cscope cups dbus dbx dlloader dmx dnd dts dv dvd dvdr dvdread ecc eds emboss encode erandom extensions fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml httpd imagemagick imlib insecure-drivers ipv6 jack java jikes joystick jpeg justify kde libcaca libg++ libsamplerate libwww logitech-mouse lzw lzw-tiff mad maildir matroska mbox mng mozsvg mp3 mpeg mule ncurses network nls nntp nptl nptlonly nsplugin nvidia ogg opengl oss pam pda pdflib perl pg-hier php pic png postgres prelude python qt quicktime readline real rtc samba sdl sftplogging skey skk sndfile socks5 spell sql sqlite ssl stats stream subversion svg svgz tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vhosts vlm vorbis wmf wxwindows xface xine xinerama xml xml2 xmms xosd xpm xprint xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
rebuilding both apr-utils and apache did it