Thanks, that fixed it. I knew it was something very simple, and I can stop beating my head against the wall.

For the record, my Makefile.PL call is as follows:

perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/home/albert/download/ httpd-2.0.55 MP_AP_CONFIGURE="--with-mpm=worker --enable-proxy -- enable-proxy-http --enable-ssl --enable-so --enable-rewrite"

-albert


On 19.12.2005, at 06:11, Philip M. Gollucci wrote:

What was your Makefile.PL line for mp2 and your ./configure line for httpd?

The reason this is failing is that /home/albert/download/ httpd-2.0.55/httpd/lib

is not in your LD_LIBRARY_PATH

ldconfig -m /home/albert/download/httpd-2.0.55/httpd/lib

or

SETENV LD_LIBRARY_PATH /home/albert/download/httpd-2.0.55/httpd/lib

before

make test in mod_perl2



---------------------------------------------------------------------- --
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


On Mon, 19 Dec 2005, Albert Vernon Smith wrote:

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

I am trying to build mod_perl 2.0.2 against httpd 2.0.55 (static mod_perl and worker MPM). Everything runs fine, except when I run 'make test' all of the tests in t/apr-util fail with similar errors. For example:

t/apr-ext/uri....Can't load '/home/albert/download/mod_perl-2.0.2/ blib/arch/auto/APR/APR.so' for module APR: libaprutil-0.so.0: cannot open shared ob ject file: No such file or directory at /usr/lib64/perl5/5.8.5/ x86_64-linux-thread-multi/DynaLoader.pm line 230.
at /home/albert/download/mod_perl-2.0.2/blib/lib/APR/URI.pm line 23
Compilation failed in require at /home/albert/download/ mod_perl-2.0.2/blib/lib/APR/URI.pm line 23. BEGIN failed--compilation aborted at /home/albert/download/ mod_perl-2.0.2/blib/lib/APR/URI.pm line 23. Compilation failed in require at /home/albert/download/ mod_perl-2.0.2/t/lib/TestAPRlib/uri.pm line 11. BEGIN failed--compilation aborted at /home/albert/download/ mod_perl-2.0.2/t/lib/TestAPRlib/uri.pm line 11.
Compilation failed in require at t/apr-ext/uri.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/uri.t line 7.
dubious
      Test returned status 255 (wstat 65280, 0xff00)

Following a suggestion in the troubleshooting guide, I looked with 'ldd blib/arch/auto/APR/APR.so | grep apr' and I get:

      libaprutil-0.so.0 => not found
      libapr-0.so.0 => not found

So, it seems that compilation of APR is not finding libapr or libaprutil for some reason.

Reply via email to