Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39187 - Apache2 cannot load mod_perl-1.99.11 into server
Summary: Apache2 cannot load mod_perl-1.99.11 into server
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 12:31 UTC by Gregg Casillo
Modified: 2004-02-05 20:14 UTC (History)
0 users

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 Gregg Casillo 2004-01-23 12:31:46 UTC
I just emerged apache-2.0.48-r3 and mod_perl-1.99.11. I can start apache2 just fine and from another machine do a "HEAD <ip address>" and get a good response. However, after emerge mod_perl-1.99.11 and adding "-D PERL" to APACHE2_OPTS in /etc/conf.d/apache2, I get the following error:

 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/75_mod_perl.conf:
Cannot load /usr/lib/apache2/extramodules/mod_perl.so into server: /usr/lib/libperl.so.1: undefined symbol: __builtin_va_start

I should note that I am running perl-5.8.3. Not sure what difference that makes. All of these are fresh installs. Nothing legacy about these packages. I'll throw in my emerge info for reference:

Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi avi berkdb cdr crypt dvb encode gdbm gif gstreamer jpeg libg++ libwww mad mikmod mmx mpeg mysql ncurses nls oggvorbis pam perl png python quicktime readline samba sdl ssl tcpd tiff unicode usb x86 xml2 zlib"

Reproducible: Always
Steps to Reproduce:
1. Emerge mod_perl after apache2.
2. Add "-D PERL" to APACHE2_OPTS in /etc/conf.d/apache2.
3. Start apache2 with /etc/init.d/apache2 start.

Actual Results:  
The error mentioned above in details section.

Expected Results:  
Apache2 started with mod_perl enabled in server.
Comment 1 Gregg Casillo 2004-02-05 20:14:35 UTC
Not sure what happened, but I've got this combination working on several machines now including the one that I was having problems with. Perhaps a CFLAGS issue or distcc/ccache goof up on my machine. Not sure what. Oh well.