Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129596 - Apache2 Wont start with mod_perl
Summary: Apache2 Wont start with mod_perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 08:13 UTC by Anthony Metcalf
Modified: 2006-04-13 01:22 UTC (History)
2 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 Anthony Metcalf 2006-04-11 08:13:53 UTC
When I add -D PERL to the options in /etc/conf.d/apache2, apache fails to start with the error:

 * Apache2 has detected a syntax error in your configuration files:
apache2: Syntax error on line 492 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/modules.d/75_mod_perl.conf: Cannot load /usr/lib/apache2/modules/mod_perl.so into server: libperl.so.1: cannot open shared object file: No such file or directory

I have re-emerged perl, apache, and mod_perl, all to no avail.

Emerge info:
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.12.2 i686)
=================================================================
System uname: 2.6.12.2 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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-r7, 2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/my_builds"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo crypt cups curl dri eds emboss encode exif expat fam foomaticdb fortran gd gd-external gdbm gif gmp gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imap imlib isdnlog java jpeg kerberos lcms ldap libg++ libwww makecheck mhash mikmod mmx mng motif mp3 mpeg multislot mysql ncurses nls nptl ogg oss pam pcre pdflib perl php png ppds pppd python qt quicktime readline samba sasl sdl slang smime snmp spell sqlite sse ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis winbind xml xml2 xmms xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

relevant use flags:
Gentoo mod_perl-2.0.2 # emerge -av perl apache mod_perl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-lang/perl-5.8.7-r3  -berkdb -build +debug -doc -gdbm +ithreads -minimal -perlsuid 0 kB
[ebuild   R   ] net-www/apache-2.2.0-r1  -debug -doc +ldap -mpm-event -mpm-prefork -mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 0 kB
[ebuild   R   ] www-apache/mod_perl-2.0.1-r2  -minimal 0 kB
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-11 08:55:40 UTC
Chances you missed to ran revdep-rebuild or the perl-cleaner script, after updating perl?
Comment 2 Anthony Metcalf 2006-04-11 09:01:41 UTC
I have run both revdep-rebuild and perl-cleaner.

Revdep didn't return anything perl related, perl-cleaner didn't report any errors.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-04-11 16:05:10 UTC
perl team: I took a look at the ebuild and nothing stands out as being incorrect, but I'm not familiar with this package (and it's rather complex). As it's your package, I'm assigning this bug to you guys to figure out. I thought I read something somewhere (perhaps planet.g.o?) about libperl.so changing/going away/something, perhaps this is the cause?
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-04-12 02:19:33 UTC
please also post emerge -pv libperl. I see perl and mod_perl listed, but its a three part deal
Comment 5 Anthony Metcalf 2006-04-13 01:22:11 UTC
it seems a re-run of "perl-cleaner reallyall" has done thr trick.

I am not sure if libperl has been re-emerged in the mean time, but I doubt it.

Sorry for the noise, this is working now.