You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2005/02/10 04:30:42 UTC

Re: Perl XML-Xerces-2.5.0-0 can't load 'blib/arch/auto/XML/Xerces/Xe rces.so'

Zhong Leo - lzhong <Le...@acxiom.com> writes:

> Please help me about this problem. My first question is whether I
> should use version 2.5.0, given the released version is just 2.3.0.
>
> I tried to install the perl module XML::Xerces version 2.5.0. After
> installed the Xerces-c 2.5.0, I do the normal "make" to make the module.
> When I typed in "make test", lots of Failure appeared. A typical piece is as
> below:

Hi Leo,

Yes, you should be using 2.5.

I'm not sure what is happening with your build, sorry. My first
impression is that there is an AIX-specific library missing on the
link line which supplies the __ReThrow symbol. 

Are you using gcc or are you using the AIX compiler (xlC?)?

Cheers,
jas.

> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>
> t/actualCast..............Can't load
> '/u01/dev/install/perl/XML-Xerces-2.5.0-0/blib/arch/auto/XML/Xerces/Xerces.s
> o' for module XML::Xerces: rtld: 0712-001 Symbol __ReThrow was referenced
>
>       from module
> /u01/dev/install/perl/XML-Xerces-2.5.0-0/blib/arch/auto/XML/Xerces/Xerces.so
> (), but a runtime definition
>
>             of the symbol was not found. at
> /usr/local/lib/perl5/5.8.6/aix-thread-multi/DynaLoader.pm line 230.
>
>  at /u01/dev/install/perl/XML-Xerces-2.5.0-0/blib/lib/XML/Xerces.pm line 7
>
> Compilation failed in require at t/actualCast.t line 11.
>
> BEGIN failed--compilation aborted at t/actualCast.t line 11.
>
> Undefined subroutine &XML::Xerces::XMLPlatformUtils::Terminate called at
> /u01/dev/install/perl/XML-Xerces-2.5.0-0/blib/lib/XML/Xerces.pm line 24.
>
> END failed--call queue aborted at t/actualCast.t line 11.
>
> Undefined subroutine &main::fail called at t/actualCast.t line 7.
>
> END failed--call queue aborted at t/actualCast.t line 11.
>
> t/actualCast..............dubious
>
>
>         Test returned status 255 (wstat 65280, 0xff00)
>
>  
>
>  
>
> It seems the Xerces.so cannot be found. I added
> /u01/dev/install/perl/XML-Xerces-2.5.0-0/blib/arch/auto/XML/Xerces to the
> LD_LIBRARY_PATH. The test still caught the same problem.
>
>  
>
> Here is my environment:
>
> ===============================
>
> /u01/dev/install/perl/xerces-c-src_2_5_0> uname -a
>
> AIX triton 1 5 0032B30A4C00
>
>  
>
> /u01/dev/install/perl/xerces-c-src_2_5_0> perl -v
>
>  
>
> This is perl, v5.8.6 built for aix-thread-multi
>
>  
>
> Copyright 1987-2004, 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.org/, the Perl Home Page.
>
>  
>
> /u01/dev/install/perl/xerces-c-src_2_5_0> make -v
>
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
>
> Built for powerpc-ibm-aix4.3.0.0
>
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
>
>         Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions.
>
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>
> PARTICULAR PURPOSE.
>
>  
>
> Report bugs to <bu...@gnu.org>.
>
>  
>
>  
>
>  
>
> The compiler is xlC_r version 6.
>
>  
>
> Any advice is warm welcomed! Thanks.
>
>  
>
> Leo Zhong
>
>
>
> **********************************************************************
> The information contained in this communication is
> confidential, is intended only for the use of the recipient
> named above, and may be legally privileged.
> If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, 
> distribution, or copying of this communication is strictly
> prohibited.
> If you have received this communication in error,
> please re-send this communication to the sender and
> delete the original message or any copy of it from your
> computer system. Thank You.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org