Stas Bekman wrote:
Stefan Loones wrote:
-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
My previous working version was : mod_perl-1.99_11-3 (.i386.rpm)
I did a rpmbuild --rebuild mod_perl-1.99_14-1.bl.src.rpm (rpm supplied by Stuart Jansen, thanks !)
I'm afraid you will have to bug Stuart about this problem. Please use the source build and if that fails then we will handle that.
Problem is that on our production machine I need to do everything with rpm. When I have the time I will try it on another machine.
After installing (rpm) this mod_perl version 1.9914: restarting apache gives:
Starting httpd: Syntax error on line 9 of /etc/httpd/conf.d/perl.conf:
Cannot load /etc/httpd/modules/mod_perl.so into server:
/etc/httpd/modules/mod_perl.so: undefined symbol: apr_table_compress
from:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#undefined_symbol__apr_table_compress
I did: # locate libapr-0.so.0 /usr/lib/libapr-0.so.0 /usr/lib/libapr-0.so.0.9.4
I can't see where that URL suggested to use locate. Please follow the exact instructions, i.e. use ldd.
Step 4 at this URL.
# ls -l /usr/lib/libapr-0.so*
lrwxrwxrwx 1 root root 17 May 1 22:51 /usr/lib/libapr-0.so -> libapr-0.so.0.9.4
lrwxrwxrwx 1 root root 17 May 1 22:51 /usr/lib/libapr-0.so.0 -> libapr-0.so.0.9.4
-rwxr-xr-x 1 root root 125760 Mar 23 09:28 /usr/lib/libapr-0.so.0.9.4
# nm /usr/lib/libapr-0.so.0 nm: /usr/lib/libapr-0.so.0: no symbols
That's a stripped lib
# ldd /usr/sbin/httpd libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb72e9000) **snip**
I read somewhere that in the future the lowest supported version of Apache would be 2.0.47, but I suppose this means 2.0.46 should still work now. And because of internal reasons I can't upgrade Apache right now.
I tried it also on another machine (more or less the same configuration, other bug report can be made if necessary) with the same results.
2.0.46 should work just fine. apr_table_compress indeed doesn't exist in libapr coming with 2.0.46, but mod_perl supplies one in
src/modules/perl/modperl_apache_compat.c
nm mod_perl.so | grep apr_table_compress
Should show you that symbol.
I guess the rpm that you are using is broken and doesn't support 2.0.46. Build from the source.
When I have some spare time I'll try to build from source. Thanks anyway, Stef
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html