Subject: | Tests running against wrong version |
This probably something daft from my end but all help appreciated :-)
I'm installing your new version of XML-LibXML-2.0001 (cheers for the
prompt tweak on the previous 'bug' by the way) which runs the perl
Makefile and make fine but falls over on every test during make test...
Perl Version: 5.8.8
Operating System: AIX 6.1 TL6 SP2
Related Software:
zlib-1.2.5-3.aix6.1.ppc.rpm
libpng-1.5.4-4.aix6.1.ppc.rpm
gettext-0.17-7.aix6.1.ppc.rpm
libiconv-1.13.1-3.aix6.1.ppc.rpm
libxml2-2.7.8-3.aix6.1.ppc.rpm
pkg-config-0.25-3.aix6.1.ppc.rpm
zlib-devel-1.2.5-3.aix6.1.ppc.rpm
libxml2-devel-2.7.8-3.aix6.1.ppc.rpm
(I suspect installing the last three might be associated with the issue)
All tests return something in the form;
S_SCUDA_903:/usr/src/XML-LibXML-2.0001> make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t ......................... Can't load '/usr/src/XML-LibXML-
2.0001/blib/arch/auto/XML/LibXML/LibXML.so' for module
XML::LibXML: 0509-130 Symbol resolution failed for /usr/src/XML-
LibXML-2.0001/blib/arch/auto/XML/LibXML/LibXML.so because:
0509-136 Symbol xmlXPathCompiledEvalToBoolean (number 198) is
not exported from
dependent module /usr/lib/libxml2.a(libxml2.so.2).
0509-022 Cannot load module /usr/src/XML-LibXML-
2.0001/blib/arch/auto/XML/LibXML/LibXML.so.
0509-026 System error: Cannot run a file that does not have a
valid format.
0509-192 Examine .loader section symbols with the
'dump -Tv' command. at /usr/opt/perl5/lib/5.8.8/aix-
thread-multi/DynaLoader.pm line 230.
at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/DynaLoader.pm line 154
BEGIN failed--compilation aborted at /usr/src/XML-LibXML-
2.0001/blib/lib/XML/LibXML.pm line 154.
Compilation failed in require at t/01basic.t line 6.
BEGIN failed--compilation aborted at t/01basic.t line 6.
# Looks like your test exited with 8 before it could output anything.
t/01basic.t ......................... Dubious, test returned 8 (wstat
2048, 0x800)
Failed 3/3 subtests
I have checked the Makefile and it is correctly referencing the up to
date libxml2 location;
INC = -I/opt/freeware/include/libxml2
# LIBS => q[-L/opt/freeware/lib -lxml2 -lz -lpthread -liconv -lm]
EXTRALIBS = -L/opt/freeware/lib -lxml2 -lz -lpthread -liconv
(I tried it with the command line override to be sure but got the same
results XMLPREFIX=/opt/freeware) alas each test is trying to
use /usr/lib/libxml2.a instead of /opt/freeware/lib/libxml2.a
Hopefully it's something really obvious I'm doing wrong
Cheers in advance
Martin