Expat, XML-Parser make test fails on AIX 5.3

"m k" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Greetings!

IBM Provides a pre-built Perl on AIX 5.3. They also provide a script to
toggle
the perl to run in either in Perl 32 or Perl 64 bit.

1. In Perl 32 mode:

I am able to compile Expat-1.95.7, then XML-Parser 2.34 (Perl Module) & able
to run the make test for XML-Parser with out any problem.
In this mode, we didn't see any problems. However,

2. In Perl 64 bit mode:

I installed same version of Expat & XML-Parser & able to make every thing.
But, when
I run make test for XML-Parser, I get the following errors with Expat.so
()...

3. I got the same errors with downloaded Perl 5.8.8, compiled on this server
using IBM Visual Age C/C++,
   Expat 2.0.0 & XML-Parser 2.34

Any pointers or help would be very much appreciated.

Regards,
-Murali


root@sfobench01(./XML-Parser-2.34)make test
make[1]: Entering directory `/chroot/tmp/perl/XML-Parser-2.34/Expat'
make[1]: Leaving directory `/chroot/tmp/perl/XML-Parser-2.34/Expat'
PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/astress.........Can't load
'/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so'
for module XML::Parser::Expat: rtld: 0712-001 Symbol XML_Parse was
referenced
      from module
/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetNamespaceDeclHandler was referenced
      from module
/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetElementHandler was referenced
      from module
/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetUnknownEncodingHandler was referenced
      from module
/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol XML_SetEndCdataSectionHandler was referenced
      from module
/chroot/tmp/perl/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so(),
but a runtime definition
      of the symbol was not found.


root@sfobench01(./XML-Parser-2.34)perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=aix, osvers=5.3.0.4, archname=aix-64all
    uname='aix sfobench01 3 5 000aba68d600 '
    config_args='-Duse64bitall'
    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=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q64
-DUSE_64_BIT_ALL -q64',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1
-qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include'
    ccversion='7.0.0.0', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-brtl -bdynamic -bmaxdata:0x80000000 -L/usr/local/lib
-q64 -b64'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
    libc=, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/chroot/perl-5.8.8/lib/5.8.8/aix-64all/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-b64  -bhalt:4 -bexpall -G -bnoentry -lc
-L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_PERLIO
  Built under aix
  Compiled at Sep  6 2006 15:26:55
  @INC:
    /chroot/perl-5.8.8/lib/5.8.8/aix-64all
    /chroot/perl-5.8.8/lib/5.8.8
    /chroot/perl-5.8.8/lib/site_perl/5.8.8/aix-64all
    /chroot/perl-5.8.8/lib/site_perl/5.8.8
    /chroot/perl-5.8.8/lib/site_perl
    .
root@sfobench01(./XML-Parser-2.34)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.