Stephen Jungels wrote:
[...]
Thanks for your help and my apologies for the incomplete report.  I was
hoping that I had a simple misconfiguration that somebody would spot right
away.  I have gone through the bug report page and included everything that
seems relevant.  Let me know if you need anything else.
[...]

Stephen, this kind of problems usually requires a great deal of details. so let's get those from you :)

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  Installation of mod_perl 2.0 fails during make test with the following
error message:

-------------------------
waiting 120 seconds for server to start: .Syntax error on line 12 of
/mnt/usr-local/mod_perl-1.99_17/t/conf/httpd.conf:
Cannot load /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so
into server: /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so:
undefined symbol: apr_pool_cleanup_null
[  error]
server has died with status 1 (t/logs/error_log wasn't created, start the
server in the debug mode)
make: *** [run_tests] Error 143
-------------------------
[...]
I tried searching for libapr as follows:

---------------------------------------
[EMAIL PROTECTED]:/usr/local/mod_perl-1.99_17# find / -name "libapr*"
/mnt/usr-local/httpd-2.0.52/srclib/apr/libaprnw.mcp.zip
/mnt/usr-local/httpd-2.0.52/srclib/apr/build/libapr_app.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr/libapr.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.a
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.lai
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr/libapr-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/libaprutil.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.a
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.lai
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/libaprutil-0.la
/mnt/usr-local/apache/lib/libapr-0.la
/mnt/usr-local/apache/lib/libapr-0.a
/mnt/usr-local/apache/lib/libaprutil-0.la
/mnt/usr-local/apache/lib/libaprutil-0.a
/mnt/usr-local/mod_perl-1.99_17/blib/lib/Apache2/auto/libaprext
/mnt/usr-local/mod_perl-1.99_17/blib/arch/Apache2/auto/libaprext
---------------------------------------

Hmm, bizarre. where is libapr from /usr/local/apache/lib?

From your report:

*** (apr|apu)-config linking info

 -L/usr/local/apache/lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl
 -L/usr/local/apache/lib -laprutil-0 -lgdbm -lexpat

so httpd was linking against libapr in /usr/local/apache/

please show us the output of:

% ldd src/modules/perl/mod_perl.so

and:

% ldd /usr/local/apache/bin/httpd

httpd should have loaded libapr* and mod_perl should have had those symbols resolved by httpd.

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