Re: make test fails

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

From: Stas Bekman
Subject: Re: make test fails
Date: 17:59 on 23 Nov 2004
Stephen Jungels wrote:

>>please show us the output of: ldd src/modules/perl/mod_perl.so and:
>>ldd /usr/local/apache/bin/httpd
[...]
> root@LINKSTATION:/usr/local/mod_perl-1.99_17# ldd
> /usr/local/apache/bin/httpd
>         libgdbm.so.1 => /usr/lib/libgdbm.so.1 (0x0ffda000)
>         librt.so.1 => /lib/librt.so.1 (0x0ffa8000)
>         libm.so.6 => /lib/libm.so.6 (0x0ff10000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x0fec3000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x0fe8c000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x0fe54000)
>         libdl.so.2 => /lib/libdl.so.2 (0x0fe31000)
>         libc.so.6 => /lib/libc.so.6 (0x0fce1000)
>         /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
> 
> Since the absence of libapr-0 may indicate a broken build of apache 2, I
> will try rebuilding it and update you later.  Thanks

Yup, that's most likely your problem. On my machine it's:
/tmp> ldd ~/httpd/prefork/bin/httpd
         linux-gate.so.1 =>  (0xffffe000)
         libz.so.1 => /lib/libz.so.1 (0x40031000)
         libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40042000)
         libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40074000)
         libaprutil-0.so.0 => 
/home/stas/httpd/prefork/lib/libaprutil-0.so.0 (0x40173000)
         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x4018b000)
         libdb-4.0.so => /usr/lib/libdb-4.0.so (0x40192000)
         libexpat.so.0 => /home/stas/httpd/prefork/lib/libexpat.so.0 
(0x4023f000)
         libapr-0.so.0 => /home/stas/httpd/prefork/lib/libapr-0.so.0 
(0x4025b000)
         librt.so.1 => /lib/tls/librt.so.1 (0x40280000)
         libm.so.6 => /lib/tls/libm.so.6 (0x40294000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x402b7000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x402e4000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x402f7000)
         libdl.so.2 => /lib/libdl.so.2 (0x40308000)
         libc.so.6 => /lib/tls/libc.so.6 (0x4030c000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

As you can see there should be: libaprutil-0.so.0 and libapr-0.so.0 (it 
could be 1.so or 0.so)

may be it was compiled statically into httpd? try:

nm /usr/local/apache/bin/httpd | grep apr_snprintf

or some other symbol, again on my machine:

nm /home/stas/httpd/prefork/lib/libapr-0.so.0| grep apr_snprintf
0000b4bf T apr_snprintf


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