[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    [mp2] can't locate loadable object during make test
From:       "Baltimore Improv Group" <mike () Promail ! com>
Date:       2005-12-30 18:18:06
Message-ID: 000001c60d6d$620cf310$9601a8c0 () ARSENIC
[Download RAW message or body]

1. Problem Description:

Received the following error during "make test".  I have already installed
the latest Bundle::Apache and verified that the ServerUtil package exists in
one of the directories in @INC and is globally-readable and executable.

waiting 120 seconds for server to start: ..[Fri Dec 30 13:07:15 2005]
[error] Can't locate loadable object for module Apache2::ServerUtil in @INC
(@INC contains: /tmp/mod_perl-2.0.2/t/lib
/tmp/mod_perl-2.0.2/Apache-Test/lib /tmp/mod_perl-2.0.2/blib/lib
/tmp/mod_perl-2.0.2/blib/arch
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/;
/tmp/mod_perl-2.0.2/t/response /tmp/mod_perl-2.0.2/t/protocol
/tmp/mod_perl-2.0.2/t/preconnection /tmp/mod_perl-2.0.2/t/hooks
/tmp/mod_perl-2.0.2/t/filter /tmp/mod_perl-2.0.2/t
/tmp/mod_perl-2.0.2/t/htdocs/testdirective/perlmodule-vh
/tmp/mod_perl-2.0.2/t/htdocs/testdirective/main
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/XSLoader.pm
line 30\nCompilation failed in require at
/tmp/mod_perl-2.0.2/t/conf/modperl_extra.pl line 27.\nBEGIN
failed--compilation aborted at /tmp/mod_perl-2.0.2/t/conf/modperl_extra.pl
line 27.\nCompilation failed in require at
/tmp/mod_perl-2.0.2/t/conf/modperl_startup.pl line 17.\n\t...propagated at
/tmp/mod_perl-2.0.2/t/conf/modperl_startup.pl line 18.\nBEGIN
failed--compilation aborted at /tmp/mod_perl-2.0.2/t/conf/modperl_startup.pl
line 20.\nCompilation failed in require at (eval 2) line 1.\n
[Fri Dec 30 13:07:15 2005] [error] Can't load Perl file:
/tmp/mod_perl-2.0.2/t/conf/modperl_startup.pl for server box:8529,
exiting...
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start the
server in the debug mode)
Can't opendir(/tmp/mod_perl-2.0.2/blib): Permission denied
 at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestRun.pm line 929


2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using /tmp/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.0
Server built:   Dec 30 2005 12:09:17
Server's Module Magic Number: 20051115:0
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -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 DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

*** /usr/bin/ldd /usr/local/apache2/bin/httpd
        libm.so.6 => /lib/libm.so.6 (0x4001b000)
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
(0x4003c000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40050000)
        libdb-4.0.so => /lib/libdb-4.0.so (0x40057000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x400ff000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x40120000)
        librt.so.1 => /lib/librt.so.1 (0x40140000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40152000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4017e000)
        libdl.so.2 => /lib/libdl.so.2 (0x401cf000)
        libc.so.6 => /lib/libc.so.6 (0x401d2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

 -L/usr/local/apache2/lib -laprutil-1 -lgdbm -ldb-4.0 -lexpat
 -L/usr/local/apache2/lib -lapr-1 -lrt -lcrypt  -lpthread -ldl



*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.21-1.1931.2.382.entsmp,
archname=i386-linux-thread-multi
    uname='linux str'
    config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Din
stallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr
-Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib
-Dusethreads -
Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm
-Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl
-Ubi
ncompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef'
 useithreads=define usemultiplicity=
    useperlio= d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=un uselongdouble=
    usemymalloc=, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_O
FFSET_BITS=64 -I/usr/include/gdbm',
    optimize='',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)',
gccosandvers=''
gccversion='3.2.2 200302'
    intsize=r, longsize=r, ptrsize=5, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long'
k', ivsize=4'
ivtype='l, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc'
l', ldflags =' -L/u'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        MAINT18379
  Built under linux
  Compiled at Aug 13 2003 11:47:58
  %ENV:
 
PERL5LIB="/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/;"
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/;
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.15
ExtUtils::MakeMaker: 6.03
LWP                : 5.65, 5.805
mod_perl           : 1.29
mod_perl2          : 2.000002


-Mike


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic