Stefan Loones wrote:
Stas Bekman wrote:

Stuart Jansen wrote:

On Fri, 2004-05-21 at 12:42, Geoffrey Young wrote:
   http://perl.apache.org/~geoff/mod_perl-1.99_14.tar.gz

and is also available from:

   http://apache.org/dist/perl/mod_perl-1.99_14.tar.gz
   http://apache.org/dist/perl/mod_perl-1.99_14.tar.gz.asc (pgp sig)

--Geoff


While creating RPMs, I discovered a new dependency on Data::Flow. I've
packaged it also, but I'm curious if it really is required.


Not for the mod_perl users. It's required for us, core developers. I had to include a forked version of C::Scan in the distro recently. And that one requires Data::Flow. So feel free to exclude that requirement.



Hi all,
Here my first post, after following this list for a few months very quitely.

welcome Stef

Regards, Stef

-------------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.


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.


# 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.

--
__________________________________________________________________
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

--
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



Reply via email to