Re: Build/test error with XML::Xerces 2.5.0

"Steven N. Hirsch" <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
On Thu, 1 Jul 2004, Gerard van der Linde wrote:

> Hi,
> 
> The 'make test' fails for every test with the same message. 
> 
> -start ------------------------------------------------------------------------
> 
> t/AttributeList.....Using /solsoft/install/ASTERIX/XML-Xerces-2.5.0-0/blib
> Can't load '/solsoft/install/ASTERIX/XML-Xerces-2.5.0-0/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces: ld.
> so.1: /bin/perl: fatal: relocation error: file /solsoft/install/ASTERIX/XML-Xerces-2.5.0-0/blib/arch/auto/XML/Xerces/Xer
> ces.so: symbol _Q211xercesc_2_516XMLPlatformUtils.fgMemoryManager: referenced symbol not found at /usr/local/lib/perl5/5
> .6.1/sun4-solaris/DynaLoader.pm line 206.
>  at /solsoft/install/ASTERIX/XML-Xerces-2.5.0-0/blib/lib/XML/Xerces.pm line 7
> Compilation failed in require at t/AttributeList.t line 11.
> BEGIN failed--compilation aborted at t/AttributeList.t line 11.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)


Just a WAG: Try doing:

$ export LD_LIBRARY_PATH=$XERCES_LIB

before trying 'make test'.

The system loader needs to know where to find the xerces library.

Steve

-- 

--------------------------------------------------------------------
Opinions expressed in this message are mine personally, not those of 
my employer.
--------------------------------------------------------------------
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.