Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Error Using Module Spreadsheet::ParseXLSX

by roho (Canon)
on Apr 23, 2018 at 14:52 UTC ( #1213441=perlquestion: print w/replies, xml ) Need Help??

roho has asked for the wisdom of the Perl Monks concerning the following question:

I am running Strawberry Perl 5.24 on Windows 10. I installed module "Spreadsheet::ParseXLSX". The module installed with no errors. When I "use" the module, the following error message is displayed:
Can't load 'D:/perl/vendor/lib/auto/XML/Parser/Expat/Expat.xs.dll' for + module XML::Parser::Expat load_file:The specified module could not be found at D:/perl/lib/DynaL +oader.pm line 193. at D:/perl/vendor/lib/XML/Parser.pm line 18. The error is definitely occurring in 'D:/perl/vendor/lib/XML/Parser.pm +' line 18, which has "require XML::Parser::Expat;" in a BEGIN block. +Running perl -MXML::Parser::Expat -e 0 produces the same error messag +e.
I double-checked module "XML::Parser::Expat" by running cpan install on it, and it says the module is up to date.
The path and file 'D:/perl/vendor/lib/auto/XML/Parser/Expat/Expat.xs.dll' exist, so it's not clear why the above error message is displayed.

Any suggestions are much appreciated.

"It's not how hard you work, it's how much you get done."

Replies are listed 'Best First'.
Re: Error Using Module Spreadsheet::ParseXLSX
by beech (Parson) on Apr 23, 2018 at 19:58 UTC

    Hi,

    Expat.xs.dll depends on other dlls, like c\bin\libexpat-1_.dll, if for some reason those dlls cant be found in your %PATH%, then loading Expat.xs.dll will fail

      That fixed the problem! Thank you very much.

      "It's not how hard you work, it's how much you get done."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1213441]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2019-12-12 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?