Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71273 - apache-1.3.33 with +ssl in USE broken after upgrading gdbm to gdbm-1.8.3-r1
Summary: apache-1.3.33 with +ssl in USE broken after upgrading gdbm to gdbm-1.8.3-r1
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 58624 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-15 04:32 UTC by Marek Wiecek
Modified: 2005-02-08 13:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Wiecek 2004-11-15 04:32:05 UTC
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"
Comment 1 Marek Wiecek 2004-11-16 23:31:58 UTC
It seems that the patch from :
http://bugs.gentoo.org/attachment.cgi?id=37819
resolves the problem.

Please confirm.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2004-11-17 00:18:25 UTC
i fixed this in the apache herd overlay some time ago
Comment 3 Marek Wiecek 2004-11-17 02:33:18 UTC
Yes I know, but still, in apache-1.3.33.ebuild it isn't fixed.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2004-12-13 10:04:44 UTC
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?
Comment 5 Whit Blauvelt 2004-12-30 17:58:16 UTC
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.
Comment 6 xyon 2005-01-25 07:31:02 UTC
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.
Comment 7 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-01-25 10:17:32 UTC
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

Comment 8 keith twombley 2005-02-07 01:55:45 UTC
cannot confirm; LIBS="-lgdbm -lpthread -lgdbm_compat" did not work for me.
Comment 9 Benedikt Böhm (RETIRED) gentoo-dev 2005-02-07 02:33:04 UTC
could you try -lndbm please
Comment 10 Benedikt Böhm (RETIRED) gentoo-dev 2005-02-08 13:01:07 UTC
*** Bug 58624 has been marked as a duplicate of this bug. ***