[Expat-discuss] Compile / use under Cygwin

Darren Young youngd@digiship.com
Wed, 24 Jan 2001 17:42:15 -0600 (CST)


I am trying to use the Perl XML::DOM module which at some point uses the
Expat library. I pulled down the Expat source and that _seems_ to compile
and install.

Next, I compiled the XML::Parser module with EXPATLIBPATH and EXPATINCPATH
set to /usr/local/lib and /usr/local/include (during the perl
Makefile.PL). It seems to compile and install, at least there are no error
messages..

Now, when I run the script that "use"s the XML::DOM module, I get:

Can't load
'/usr/lib/perl5/site_perl/5.6.1/cygwin/auto/XML/Parser/Expat/Expat.dl
l' for module XML::Parser::Expat: dlopen: Win32 error 126 at
/usr/lib/perl5/5.6.
1/cygwin/DynaLoader.pm line 206.
 at /usr/lib/perl5/site_perl/5.6.1/cygwin/XML/Parser.pm line 15
Compilation failed in require at
/usr/lib/perl5/site_perl/5.6.1/cygwin/XML/Parse
r.pm line 15.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.1/cygwin/XML/P
arser.pm line 19.
Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/XML/DOM.pm
line
40.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.1/XML/DOM.pm l
ine 69.
Compilation failed in require at
/source/digiship/repository/modules/XMLEDI.pm l
ine 117.
BEGIN failed--compilation aborted at
/source/digiship/repository/modules/XMLEDI.
pm line 117.
Compilation failed in require at
/source/digiship/repository/interfaces/edi/EDIS
erver/EDIServer.pl line 54.
BEGIN failed--compilation aborted at
/source/digiship/repository/interfaces/edi/
EDIServer/EDIServer.pl line 54.

Any ideas where this could be coming from? The Expat library? The
XML::Parser module? Any pointers would be most helpful. Thanks.

-- 

Darren Young
Director Network Operations
Digiship