Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Error Using Module Spreadsheet::ParseXLSX

by roho (Bishop)
on Apr 23, 2018 at 14:52 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-24 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found