On Thu, 31 Oct 2002, Wilbur R. Johnson wrote:

> I just installed xerces-c-src1_7_0 and XML-Xerces-1.7.0-3. everything
> seemed to compile fine for both packages, however the perl
> make tests fail all tests.
> 
> When I run one of the samples I get
> 
> wrjohns@buena-vista 1068->perl DOMCount.pl
> Can't load 
>'/home/drm/tools/perl5.6.0/sparc-sun-solaris2.7/lib/site_perl/5.6.0/sun4-solaris/auto/XML/Xerces/Xerces.so'
> for module XML::Xerces: ld.so.1: perl: fatal: relocation error: file
> 
>/home/drm/tools/perl5.6.0/sparc-sun-solaris2.7/lib/site_perl/5.6.0/sun4-solaris/auto/XML/Xerces/Xerces.so:
> symbol
> __1cG__CrunKpure_error6F_v_: referenced symbol not found at
> /home/drm/tools/perl5.6.0/sparc-sun-solaris2.7/lib/5.6.0/sun4-solaris/DynaLoader.pm 
>line 200.
>  at 
>/home/drm/tools/perl5.6.0/sparc-sun-solaris2.7/lib/site_perl/5.6.0/sun4-solaris/XML/Xerces.pm
> line 8
> Compilation failed in require at DOMCount.pl line 67.
> BEGIN failed--compilation aborted at DOMCount.pl line 67.
> 
> As I am somewhat new to native bindings in perl, I can't help but think I'm missing
> something fundamental like a library path setting. I see no reference in the 
>documentation
> though. I also an running on Solaris 2.8. Possibly I'm missing a shared object lib? 
>I don't
> know where __1cG__CrunKpure_error6F_v_ would live.

This type of thing usually stems from Xerces-c and XML-Xerces not agreeing 
on the underlying storage type for bool.  It's a little confusing, I 
grant, and does depend on which compiler you're using.  That said, I've 
been able to build both using the Sun Workshop compiler...

Steve

-- 
----------------------------------------------------------------
Steven N. Hirsch       tie-line: 446-6557     ext: 802-769-6557

Staff Engineer                     Methodology Integration Team
ASIC Product Development           IBM Microelectronics
----------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to