Several things to clear:
1. I have successfully passed the "make && make test && make install" phase.
2. I have moved into "Server configuration" phase and was doing the "mod_perl rocks" thingy, where the error happens.
3. Before seeing your reply, I already found a solution: I renamed Const.so to Const.so.bak (there are several other xxx.so mod_perl complains about, I removed them as well). It works, mod_perl did rock.
4. However this put me into a bigger misery, I can't explain why!!!
After reading the thread, I delved into my setting and found:
- my perl installation doesn't have libperl.so (libperl.a only).
- my httpd is DSO enabled.
- my mod_perl is mod_perl.so (mod_perl.a is not used).
- my mod_perl.so is not linked against ibperl.so.
So I assume that httpd loads mod_perl.so, which loads other xxx.so, such as Const.so, but when does mod_perl load libperl.so (from the thread I assume those undefined symbols would be resolved by libperl.so)? before laoding Const.so? but why did it not complain about no libperl.so on my system?
......
Now I start to have some ideas, it must have to do with my Perl installation, which contains some leftovers that should have been cleaned up before I made numerous rebuilds, .... everytime Perl uses a package it looks for *.so by going through @INC, lots of library files with same names.
I will let you after I clean up my perl.
thanks again,
xd
Stas Bekman wrote:
Xiaodong Shen wrote:Hi all,
Does anyone have experience of seeing from error_log:
/usr/local/apache2/bin/httpd: error while loading shared libraries: /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Apache/Const/Const.so: undefined symbol: Perl_Tstack_sp_ptr
I am playing with 2.0.44 (-with-mpm=prefork) with mod_perl 2.0 (moer specifically 1.99_08) on linux 2.4.7 with Perl 5.8.0 (no thread), I saw the above error message when requesting the "mod_perl 2.0 rocks" testing page (see mod_perl 2.0 User Guide).
any hint is welcomed.
xd
Take a look at this thread: http://marc.theaimsgroup.com/?t=104308021300002&r=1&w=2 In particular at: http://marc.theaimsgroup.com/?l=apache-modperl&m=104312560827233&w=2 Does this help? __________________________________________________________________ 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