perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Eggert <>
Subject [mp2.0] Cannot load into server: Unsupported relocation type 10 in non-PLT relocations
Date Thu, 21 Nov 2002 09:09:15 GMT
Hi there,

I hope this helps you getting mod_perl running. I've almost given up on getting mod_perl for
Apache2 running. I'd be more than glad for any comments.


-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

After compiling and installing the source from

I add the module to httpd.conf and run 'apachectl -t'. But then I get:

Syntax error on line 233 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/ into server: /usr/pkg/lib/httpd/ Unsupported
relocation type 10 in non-PLT relocations

2. Used Components and their Configuration:

*** using lib/Apache/
*** Makefile.PL options:
  MP_APXS        => /usr/pkg/sbin/apxs
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1

*** /usr/pkg/sbin/httpd -V
Server version: Apache/2.0.43
Server built:   Oct 30 2002 08:41:52
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D HTTPD_ROOT="/usr/pkg"
 -D SUEXEC_BIN="/usr/pkg/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/"
 -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/accept.lock"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error.log"
 -D AP_TYPES_CONFIG_FILE="etc/httpd/mime.types"
 -D SERVER_CONFIG_FILE="etc/httpd/httpd.conf"

*** /usr/pkg/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
    osname=netbsd, osvers=netbsd, archname=powerpc-netbsd
    uname='netbsd 1.6 netbsd 1.6 (ans700mlx) #3: tue sep 24 11:42:02 utc 2002
macppc '
    config_args='-sde -Dprefix=/usr/pkg -Dscriptdir=/usr/pkg/bin -Darchname=powerpc-netbsd
-Doptimize=-I/usr/pkg/include -O2 -Dcc=cc -Uusemymalloc -Uinstallusrbinperl -Dlibswanted=m
crypt -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
    optimize='-I/usr/pkg/include -O2',
    cppflags='-fno-strict-aliasing -I/usr/pkg/include'
    ccversion='', gccversion='2.95.3 20010315 (release) (NetBSD nb3)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-R/usr/pkg/lib  -L/usr/pkg/lib'
    libpth=/usr/pkg/lib /usr/lib
    libs=-lm -lcrypt
    perllibs=-lm -lcrypt
    libc=/usr/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-whole-archive -lgcc -Wl,-no-whole-archive
                   -Wl,-E -Wl,-R/usr/pkg/lib  -Wl,-R/usr/pkg/lib/perl5/5.6.1/powerpc-netbsd/CORE'
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib'

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under netbsd
  Compiled at Sep 27 2002 12:31:24

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

(I don't get a core dump...)

This report was generated by t/REPORT on Thu Nov 21 09:03:03 2002 GMT.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message