Re: make test fails

[prev] [thread] [next] [Date index for 2004/11/23]

From: Stas Bekman
Subject: Re: make test fails
Date: 05:22 on 23 Nov 2004
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:
> 
> ---------------------------------------
> root@LINKSTATION:/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:stas@xxxxxx.xxx 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

(message missing)

Re: make test fails
Stephen Jungels 21:08 on 22 Nov 2004

Re: make test fails
Stas Bekman 05:22 on 23 Nov 2004

Re: make test fails
Stephen Jungels 17:31 on 23 Nov 2004

Re: make test fails
Stas Bekman 17:59 on 23 Nov 2004

RE: make test fails
Stephen Jungels 21:44 on 23 Nov 2004

Re: make test fails
Stas Bekman 21:52 on 23 Nov 2004

Re: make test fails
Gedanken 21:57 on 23 Nov 2004

RE: make test fails
Stephen Jungels 22:26 on 23 Nov 2004

RE: make test fails
Stephen Jungels 22:26 on 23 Nov 2004

Re: make test fails
Stas Bekman 22:33 on 23 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52