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.



2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using /home/albert/download/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
MP_APR_LIB      => aprext
MP_AP_CONFIGURE => --with-mpm=worker --enable-proxy --enable-proxy-http --enable-ssl --enable-so --enable-rewrite
MP_AP_PREFIX    => /home/albert/download/httpd-2.0.55
MP_COMPAT_1X    => 1
MP_GENERATE_XS  => 1
MP_LIBNAME      => mod_perl
MP_USE_STATIC   => 1


*** /home/albert/download/httpd-2.0.55/httpd -V
Server version: Apache/2.0.55
Server built:   Dec 18 2005 20:56:21
Server's Module Magic Number: 20020903:11
Architecture:   64-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

*** /usr/bin/ldd /home/albert/download/httpd-2.0.55/httpd
        not a dynamic executable


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

-L/home/albert/download/httpd-2.0.55/srclib/apr-util/.libs
-L/home/albert/download/httpd-2.0.55/srclib/apr-util -laprutil-0 -lgdbm -ldb-4.2 -lexpat
-L/home/albert/download/httpd-2.0.55/srclib/apr/.libs
-L/home/albert/download/httpd-2.0.55/srclib/apr -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.6.9-22.el.buildcentos, archname=x86_64-linux-thread-multi uname='linux monk.karan.org 2.6.9-22.el.buildcentos #1 mon oct 3 23:01:37 bst 2005 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m64 -Dversion=5.8.5 -Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.5 -Dsitelib=/usr/lib/perl5/site_perl/5.8.5 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.5 -Darchlib=/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi -Darchname=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'
  hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=define use64bitall=define uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
  optimize='-O2 -g -pipe -m64',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.4 20050721 (Red Hat 3.4.4-2)', gccosandvers=''
  intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
  alignbytes=8, prototype=define
Linker and Libraries:
  ld='gcc', ldflags =''
  libpth=/usr/local/lib64 /lib64 /usr/lib64
  libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
  libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
  gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE'
  cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Oct  7 2005 23:02:34
%ENV:
  PERL_LWP_USE_HTTP_10="1"
@INC:
  /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi
  /usr/lib/perl5/5.8.5
  /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi
  /usr/lib/perl5/site_perl/5.8.5
  /usr/lib/perl5/site_perl/5.8.4
  /usr/lib/perl5/site_perl/5.8.3
  /usr/lib/perl5/site_perl/5.8.2
  /usr/lib/perl5/site_perl/5.8.1
  /usr/lib/perl5/site_perl/5.8.0
  /usr/lib/perl5/site_perl
  /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
  /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi
  /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
  /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi
  /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi
  /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi
  /usr/lib/perl5/vendor_perl/5.8.5
  /usr/lib/perl5/vendor_perl/5.8.4
  /usr/lib/perl5/vendor_perl/5.8.3
  /usr/lib/perl5/vendor_perl/5.8.2
  /usr/lib/perl5/vendor_perl/5.8.1
  /usr/lib/perl5/vendor_perl/5.8.0
  /usr/lib/perl5/vendor_perl
  .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.15
ExtUtils::MakeMaker: 6.17
LWP                : 5.79
mod_perl           : -
mod_perl2          : 2.000002


3. This is the core dump trace: (if you get a core dump):

[CORE TRACE COMES HERE]

This report was generated by ./t/REPORT on Mon Dec 19 02:19:25 2005 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]


Reply via email to