Re: Can't load Xerces.dll

Martin Raspe <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
GuruJ wrote:

[...]

> I'm experiencing exactly the same error message as Alex.  I had a 
> similar error message when trying to use XML::Parser with the Expat 
> library.  In that case, placing the Expat DLLs in the 
> site\lib\auto\XML\Parser\Expat directory fixed the problem.
> 
> This time around, the xerces-c-2_3_0.dll doesn't seem to work from 
> either perl\bin or site\lib\auto\XML\Xerces.  I don't *believe* the 
> problem is likely to be related to Xerces.dll.

Perl's dll load error messages can be misleading. Perl will complain 
that it can't load Xerces.dll although it is present, when a dependent 
DLL isn't found or won't load (e. g. when it was compiled with another C 
compiler). In your case I suspect you haven't set the location to 
xerces-c-2_3_0.dll in your system path. If it sits in "C:\perl\bin", 
just add "C:\perl\bin" to the "path" command in C:\autoexec.bat.

> I am using IndigoPerl 2003 (Perl 5.8) for all of this.  Also, could the 
> fact that I am running Windows 98SE have something to do with it?

I run Perl with Win98 on one computer and it makes no difference.

Martin
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.