help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)

[prev] [thread] [next] [Date index for 2005/01/20]

From: peter pilsl
Subject: help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)
Date: 10:15 on 20 Jan 2005
My first problem-report yesterday did not include much useful 
information. Thnx to Tom for pointing this out, so here it comes again 
with much more information from t/REPORT
What suprised me is that at the end it states that there are several 
versions of mod_perl-modules installed. Is this a possible cause of my 
problem?

thnx,
peter




1. Problem Description:

   apache cannot start due to the following error:
   Cannot load /usr/local/apache2/modules/mod_perl.so into server: 
/usr/local/apache2/modules/mod_perl.so: undefined symbol Perl_sv_2pv_flags

  I tried with several versions from 1.99_14 to 1.99_17
  Finally I reverted to my old mod_perl 1.99_08 -module compiled for 
2.0.48 and put it to the modules-folder of my new 2.0.52 and things work 
fine, but I would prefer using a newer mod_perl-module


2. Used Components and their Configuration:

*** mod_perl version 1.9916

*** using /usr/src/mod_perl-1.99_16/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
   MP_APR_LIB      => aprext
   MP_AP_PREFIX    => /usr/local/apache2
   MP_COMPAT_1X    => 1
   MP_GENERATE_XS  => 1
   MP_INST_APACHE2 => 1
   MP_LIBNAME      => mod_perl
   MP_USE_DSO      => 1
   MP_USE_STATIC   => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.52
Server built:   Jan 19 2005 22:39:49
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
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 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"


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

  -L/usr/local/apache2/lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl
  -L/usr/local/apache2/lib -laprutil-0 -lgdbm -ldb-4.1 -lexpat



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
   Platform:
     osname=linux, osvers=2.4.24, archname=i686-linux
     uname='linux goldfisch.at 2.4.24 #9 wed mar 10 22:29:04 cet 2004 
i686 unknown '
     config_args='-de'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
     ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.1 
2.96-0.62mdk)', 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=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.2.4'
   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: USE_LARGE_FILES
   Built under linux
   Compiled at Sep 21 2004 11:47:55
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/local/lib/perl5/5.8.5/i686-linux
     /usr/local/lib/perl5/5.8.5
     /usr/local/lib/perl5/site_perl/5.8.5/i686-linux
     /usr/local/lib/perl5/site_perl/5.8.5
     /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
     /usr/local/lib/perl5/site_perl/5.8.0
     /usr/local/lib/perl5/site_perl
     .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : -
mod_perl       : 1.9908, 1.9914, 1.9916


This report was generated by t/REPORT on Thu Jan 20 10:04:04 2005 GMT.

(message missing)

help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)
peter pilsl 10:15 on 20 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52