perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Foote <...@bnf.net>
Subject [mp2] compile-test error "mod_perl.so: undefined symbol: PL_ppaddr"
Date Wed, 09 Nov 2005 19:44:14 GMT

1. Problem Description:

Hi there,

I'm trying to compile mod_perl-2.0.2 on debian sarge and I'm getting the
following error at the beginning of the testing phase:

--------8<--------
Syntax error on line 12 of
/home/bfoote/files/mod_perl/mod_perl-2.0.2/t/conf/httpd.conf:
Cannot load
/home/bfoote/files/mod_perl/mod_perl-2.0.2/src/modules/perl/mod_perl.so
into server:
/home/bfoote/files/mod_perl/mod_perl-2.0.2/src/modules/perl/mod_perl.so:
undefined symbol: PL_ppaddr
--------8<--------

Mind you I have not compiled apache2 or perl so my guess is that I'll
have to build the entire tool chain in order to get this to go but if
there were some other small piece of the puzzle (like a missing
lib_perl??) I'd be happy to save the time.

Also, at risk of asking a religious question I was wondering what server
platform list participants liked for apache2/mod_perl2.

Thanks for your help,

ben


2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using
/home/bfoote/files/mod_perl/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

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


*** /usr/sbin/apache2 -V
Server version: Apache/2.0.54
Server built:   Sep  5 2005 11:11:08
Server's Module Magic Number: 20020903:9
Architecture:   32-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=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"

*** /usr/bin/ldd /usr/sbin/apache2
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7ec0000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb7eb0000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7e9d000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0xb7e6c000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
(0xb7d6d000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d69000)
        libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7d54000)
        libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0xb7d1e000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0xb7d10000)
        libdb-4.2.so => /usr/lib/libdb-4.2.so (0xb7c3a000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7c1a000)
        libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb7bf9000)
        librt.so.1 => /lib/tls/librt.so.1 (0xb7bf1000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7bcb000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7bb4000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7ba2000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7a6a000)
        /lib/ld-linux.so.2 (0xb7ef3000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7a57000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7a42000)
        libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0xb79da000)
        libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0xb79ca000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb797d000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7979000)


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

 -L/usr/lib -laprutil-0 -lldap -llber -ldb-4.2 -lexpat
 -L/usr/lib -lapr-0 -lrt -lm -lnsl  -lpthread



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=linux, osvers=2.4.27-ti1211, archname=i386-linux-thread-multi
    uname='linux kosh 2.4.27-ti1211 #1 sun sep 19 18:17:45 est 2004 i686
gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.8.7
-Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm
-Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des'
    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=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.3.6 (Debian 1:3.3.6-6)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libperl.so.5.8.7
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                        PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Jun  8 2005 23:43:21
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /etc/perl
    /usr/local/lib/perl/5.8.7
    /usr/local/share/perl/5.8.7
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/lib/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.10
ExtUtils::MakeMaker: 6.17
LWP                : 5.803
mod_perl           : -
mod_perl2          : -


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 Wed Nov  9 19:41:03 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 modperl-subscribe@perl.apache.org.



-- 
Benjamin Foote
ben@bnf.net
www.bnf.net

Mime
View raw message