Subject: | JSON::DWIW test fails on Solaris 9 |
When I run 'make test' on JSON::DWIW on my Solaris 9 system, I get the
following:
32 [dev2][#*# ROOT #*#]> # make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use....................Can't load
'/root/.cpan/build/JSON-DWIW-0.27/blib/arch/auto/JSON/DWIW/DWIW.so' for
module JSON::DWIW: ld.so.1: perl5.8.3: fatal: relocation error: file
/root/.cpan/build/JSON-DWIW-0.27/blib/arch/auto/JSON/DWIW/DWIW.so:
symbol asprintf: referenced symbol not found at
/usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
at t/00use.t line 13
Compilation failed in require at t/00use.t line 13.
BEGIN failed--compilation aborted at t/00use.t line 13.
t/00use.................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/01encode.................Can't load
'/root/.cpan/build/JSON-DWIW-0.27/blib/arch/auto/JSON/DWIW/DWIW.so' for
module JSON::DWIW: ld.so.1: perl5.8.3: fatal: relocation error: file
/root/.cpan/build/JSON-DWIW-0.27/blib/arch/auto/JSON/DWIW/DWIW.so:
symbol asprintf: referenced symbol not found at
/usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
at t/01encode.t line 13
Compilation failed in require at t/01encode.t line 13.
BEGIN failed--compilation aborted at t/01encode.t line 13.
t/01encode................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 14/14 subtests
--etc, snipped--
I can see from
http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=JSON-DWIW+0.27
that there are no successful test reports from Solaris, so I'm wondering
what's going on?
Here's my system info:
SunOS 5.9 Generic_118558-39 sun4u sparc SUNW,Ultra-250
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris
uname='sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris '
config_args='-Dcc=gcc -B/usr/ccs/bin/'
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='gcc -B/usr/ccs/bin/', 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='3.3.2', gccosandvers='solaris2.9'
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, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lbind -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lbind -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
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 Feb 9 2004 03:13:00
@INC:
/usr/local/lib/perl5/5.8.3/sun4-solaris
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl
.