like in summary Reproducible: Always Steps to Reproduce: 1.emerge -uv gdbm 2.revdep-rebuild --soname libgdbm.so.2 3./etc/init.d/apache restart Actual Results: * Starting apache... Syntax error on line 59 of /etc/apache/conf/apache.conf: Cannot load /etc/apache/extramodules/libssl.so into server: /etc/apache/extramodules/libssl.so: undefined symbol: dbm_firstkey [ !! ] Expected Results: * Starting apache... [ OK ] # emerge info Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://gentoo.prz.rzeszow.pl" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="avi berkdb bitmap-fonts cdb crypt cups encode f77 foomaticdb fortran ftp gdbm gif gpm imagemagick imap imlib jpeg libg++ libwww mad maildir mhash mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl php png python quicktime readline sdl slang spell sse ssl svga tcpd truetype unicode x86 xml2 xmms xv zlib"
It seems that the patch from : http://bugs.gentoo.org/attachment.cgi?id=37819 resolves the problem. Please confirm.
i fixed this in the apache herd overlay some time ago
Yes I know, but still, in apache-1.3.33.ebuild it isn't fixed.
I have the same bug. apache-1.3.33. And mentioned above patch helped me. Please, someone fix this on cvs. Or there are some reasons not to do this?
Same problem. Fixed with the patch at http://forums.gentoo.org/viewtopic.php?p=1928496#1928496 [adding -lgdbm_compat as in: LIBS="-lgdbm -lpthread -lgdbm_compat" - see discussion there]. This is with 1.3.33. I'd note that this showed up on a system which hadn't had Apache or mod_ssl updated for several versions. On another system which has been updated more often, this did not arise. So it may have something to do with how big a jump is made between versions of stuff.
I jumped from version 1.3.31 to 1.3.33/mod_ssl 2.8.21 and had this problem. Reloaded the entire machine and started with 1.3.33/mod_ssl 2.8.21, and still same error. Using the fix from the forum seems to have worked, but won't be able to truly test until I'm local to the machine.
Apache-1.3.33-r1 should fix this. It is currently hardmasked for testing. You can upgrade to the hardmasked version by following the insutructions in http://dev.gentoo.org/~vericgar/package-refresh.txt and http://dev.gentoo.org/~vericgar/doc/apache-package-refresh.html
cannot confirm; LIBS="-lgdbm -lpthread -lgdbm_compat" did not work for me.
could you try -lndbm please
*** Bug 58624 has been marked as a duplicate of this bug. ***