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/libperl.so into server:
/etc/apache/extramodules/libperl.so: undefined symbol:
PL_stack_base [ !! ]
Are you sure that you compiled with the same perl that gets loaded?
will show you which libperl.so (this time perl's) it's linked against. Then you check that libperl.so to see if it has the symbol defined:
nm /path/to/CORE/libperl.so | 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 apache-1.3.27-r4
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com