Problems getting mod_perl to run in shared mode....

From: <kriggins_at_email.com>
Date: Mon, 13 Nov 2000 07:31:45 -0600

Hey peoples,

I am trying to get mod_perl to run in shared mode with Apache 1.3.12 and
perl 5.6.0. I have built perl to be shared and it seems to be be working
okay. Apache and mod_perl appear to compile okay after I remove the -Wl
switch from the ld command in the mod_perl makefile. Unfortunately when I
try to run a make test on mod_perl get the follwing error.

Syntax error on line 930 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into server: Unresolved
symbol in /usr/local/apache/libexec/libperl.so: PL_perl_destruct_level
../bin/apachectl start: httpd could not be started

The output of perl -V follows:

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
    uname='osf1 ren.dlinc.com v4.0 1229 alpha '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=define use64bitall=define uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -ieee -D_INTRINSICS -DLANGUAGE_C'
    ccflags ='-std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=8, ptrsize=8, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /var/shlib
    libs=-ldbm -ldb -lm -liconv
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
cdlflags=' -Wl,-rpath,/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved
"*" -O4 -msym -std -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under dec_osf
  Compiled at Nov 10 2000 17:32:16
  _at_INC:
    /usr/local/lib/perl5/5.6.0/alpha-dec_osf
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .

Any help much appreciated,
Kevin Riggins
Dice.com
email: kriggins_at_email.com
email: kevinr_at_dice.com
phone:(515) 313-2127
Received on Mon Nov 13 2000 - 13:33:07 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT