Nicolas MONNET wrote:
Hi, I can't seem to find what's going wrong, I'm trying to run mod_perl
on Gentoo, but I get this:

# /etc/init.d/apache start
* Starting apache...
Syntax error on line 58 of /etc/apache/conf/apache.conf:
Cannot load /etc/apache/extramodules/ into server:
/etc/apache/extramodules/ undefined symbol:
PL_stack_base [ !! ]

Are you sure that you compiled with the same perl that gets loaded?

ldd /etc/apache/extramodules/

will show you which (this time perl's) it's linked against. Then you check that to see if it has the symbol defined:

nm /path/to/CORE/ | grep PL_stack_base

My guess is that you may have more than one perls on your machine and mod_perl picks the wrong library at the startup.

I looked extensively through Google and mailing list archives, and can't
seem to find what the problem is. Please note that I have some extensive
experience with Apache+mod_perl, but I can't seem to pinpoint what's
going wrong. Any idea where to look?

I have recompiled everything (perl, libperl, Apache, mod_perl, several
perl modules) but it did'nt solve the problem. Any idea how I can find
out what fucks up?

If I can't I'll try compiling by hand but I wanted to avoid this.

I have:
gcc 3.3
glibc 2.3.2-r1


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker mod_perl Guide ---> mailto:[EMAIL PROTECTED]

Reply via email to