You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Bruce W. Hoylman" <bh...@advtech.uswest.com> on 2000/08/22 18:53:36 UTC

'make test' error with CVS modperl

Having downloaded the latest CVS snapshot of modperl, using my standard
APACI config parameters to configure and compile, it compiles to
completion without error.  'make test' however returns the following
error when attempting to start the test httpd process:

letting apache warm up...[Tue Aug 22 10:46:31 2000] [error] Can't load '/opt/gnu/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO: ld.so.1: /www/src/apache-1.3_20000817161200/src/httpd: fatal: relocation error: file /opt/gnu/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main: referenced symbol not found at /opt/gnu/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

I have IO-1.20 installed, and have had it there for a long time.  Here
are the particulars for perl:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos savvy 5.6 generic_105181-15 sun4u sparc '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-I/usr/local/include -I/opt/gnu/include'
    ccflags ='-I/usr/local/include -I/opt/gnu/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Jan 26 2000 13:27:51
  %ENV:
    PERLROOT="/opt/gnu/lib/perl5/5.00503"
    PERL_ORACLE_HOME="/db02/orasw/app/oracle/product/8.1.6"
  @INC:
    /opt/gnu/lib/perl5/5.00503/sun4-solaris
    /opt/gnu/lib/perl5/5.00503
    /opt/gnu/lib/perl5/site_perl/5.005/sun4-solaris
    /opt/gnu/lib/perl5/site_perl/5.005
    .

I have done this process numerous times in the past with no problems at
all.  Now all of a sudden I get the relocation error with IO.  I'm not
sure why.

Any thoughts/suggestions?

Peace.

Re: 'make test' error with CVS modperl

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 22 Aug 2000, Bruce W. Hoylman wrote:

> 
> Having downloaded the latest CVS snapshot of modperl, using my standard
> APACI config parameters to configure and compile, it compiles to
> completion without error.  'make test' however returns the following
> error when attempting to start the test httpd process:
> 
> letting apache warm up...[Tue Aug 22 10:46:31 2000] [error] Can't load '/opt/gnu/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO: ld.so.1: /www/src/apache-1.3_20000817161200/src/httpd: fatal: relocation error: file /opt/gnu/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main: referenced symbol not found at /opt/gnu/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
> 
> I have IO-1.20 installed, and have had it there for a long time.  Here
> are the particulars for perl:

so if you 'make test' with the same Perl and 1.24 you don't have this
problem?  i don't see any changes since that could trigger such a problem.