Subject: | Build problem on 5.6.1 on Solaris |
I'm having a problem with the installation. It is failing to load the XS module, which does exist under blib/arch where I would expect it to be and where it says it is looking.
williami@:/home/williami/.cpan/build/Devel-LeakTrace-0.05: perl Build.PL
Checking whether your kit is complete...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'Devel-LeakTrace' version '0.05'
williami@:/home/williami/.cpan/build/Devel-LeakTrace-0.05: ./Build
lib/Devel/LeakTrace.pm -> blib/lib/Devel/LeakTrace.pm
gcc -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -fPIC -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -o lib/Devel/LeakTrace.o lib/Devel/LeakTrace.c
ExtUtils::Mkbootstrap::Mkbootstrap('lib/Devel/LeakTrace')
gcc -G -L/usr/local/lib -o blib/arch/auto/Devel/LeakTrace/LeakTrace.so lib/Devel/LeakTrace.o -L/usr/local/lib -lglib
Manifying blib/lib/Devel/LeakTrace.pm -> blib/libdoc/Devel::LeakTrace.3
williami@:/home/williami/.cpan/build/Devel-LeakTrace-0.05: ./Build test
t/00compile..........# Failed test (t/00compile.t at line 4)
# Tried to use 'Devel::LeakTrace'.
# Error: Can't load '/home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/arch/auto/Devel/LeakTrace/LeakTrace.so' for module Devel::LeakTrace: ld.so.1: /usr/local/bin/perl: fatal: libglib-1.2.so.0: open failed: No such file or directory at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
# at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10
# BEGIN failed--compilation aborted at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10.
# Compilation failed in require at (eval 1) line 2.
# Looks like you failed 1 tests of 1.
t/00compile..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/Devel-LeakTrace....# Failed test (t/Devel-LeakTrace.t at line 10)
# got: 'Can't load '/home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/arch/auto/Devel/LeakTrace/LeakTrace.so' for module Devel::LeakTrace: ld.so.1: /usr/local/bin/perl: fatal: libglib-1.2.so.0: open failed: No such file or directory at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
t/Devel-LeakTrace....NOK 1# at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10
# BEGIN failed--compilation aborted at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10.
# Compilation failed in require.
# BEGIN failed--compilation aborted.
# '
# expected: ''
# Failed test (t/Devel-LeakTrace.t at line 12)
t/Devel-LeakTrace....NOK 2# got: 'Can't load '/home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/arch/auto/Devel/LeakTrace/LeakTrace.so' for module Devel::LeakTrace: ld.so.1: /usr/local/bin/perl: fatal: libglib-1.2.so.0: open failed: No such file or directory at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
# at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10
# BEGIN failed--compilation aborted at /home/williami/.cpan/build/Devel-LeakTrace-0.05/blib/lib/Devel/LeakTrace.pm line 10.
# Compilation failed in require.
# BEGIN failed--compilation aborted.
# '
# expected: ''
# Failed test (t/Devel-LeakTrace.t at line 20)
t/Devel-LeakTrace....ok 3/11# Failed test (t/Devel-LeakTrace.t at line 21)
t/Devel-LeakTrace....NOK 4# Failed test (t/Devel-LeakTrace.t at line 22)
t/Devel-LeakTrace....NOK 6# Failed test (t/Devel-LeakTrace.t at line 30)
t/Devel-LeakTrace....ok 7/11# Failed test (t/Devel-LeakTrace.t at line 31)
t/Devel-LeakTrace....NOK 8# Failed test (t/Devel-LeakTrace.t at line 32)
t/Devel-LeakTrace....NOK 9# Failed test (t/Devel-LeakTrace.t at line 33)
t/Devel-LeakTrace....NOK 11# Looks like you failed 9 tests of 11.
t/Devel-LeakTrace....dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-2, 4-6, 8-11
Failed 9/11 tests, 18.18% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00compile.t 1 256 1 1 100.00% 1
t/Devel-LeakTrace.t 9 2304 11 9 81.82% 1-2 4-6 8-11
Failed 2/2 test scripts, 0.00% okay. 10/12 subtests failed, 16.67% okay.
williami@:/home/williami/.cpan/build/Devel-LeakTrace-0.05: perl -v
This is perl, v5.6.1 built for sun4-solaris
Copyright 1987-2001, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
williami@:/home/williami/.cpan/build/Devel-LeakTrace-0.05: perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 '
config_args='-Dcc=gcc -de'
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
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
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'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 26 2001 04:07:49
%ENV:
PERL5LIB="/home/williami/lib"
@INC:
/home/williami/lib/5.6.1/sun4-solaris
/home/williami/lib/5.6.1
/home/williami/lib/sun4-solaris
/home/williami/lib
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.