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

Error in loading some Expat.dll

by balajinagaraju (Sexton)
on May 18, 2012 at 09:19 UTC ( [id://971243]=perlquestion: print w/replies, xml ) Need Help??

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

Hi, Till now i was using winxp and recently migrated to win7 and so i copied all my project files from xp to windows7 and many things stopped working and was able to fix it but i am getting an error in one of the modules which gives the below error and i am not able to resolve this issue. Has anyone faced a similar problem.? The error is as below. Can't load 'C:/strawberry/perl/site/lib/auto/XML/Parser/Expat/Expat.dll' for module XML::Parser::Expat: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 191. at C:/strawberry/perl/site/lib/XML/Parser.pm line 18 Before migration it was perfectly working on my winxp mcahie but now it fails to work . Any help is highly appreciated.

Replies are listed 'Best First'.
Re: Error in loading some Expat.dll
by Corion (Patriarch) on May 18, 2012 at 09:22 UTC

    Most likely, some DLL like the DLL for the Expat parser itself, was not migrated to the new machine. That DLL might or might not live in C:\Windows\System32. You will have to find out which DLL is missing and copy that DLL into an appropriate location on Windows 7.

Re: Error in loading some Expat.dll
by marto (Cardinal) on May 18, 2012 at 09:27 UTC

    Did you install Strawberry Perl after moving to windows 7, or had you just copied the previous installation? I'm pretty sure Strawberry Perl ships with XML::Parser::Expat.

      I dint not install strawberry perl , i just copied my set up from old machine and set the env variables. As i had downloaded lot of modules from CPAN i just copied it to the new machine.

        This is where your problems come from that you're resolving now.

        You are right strawberry perl ships XML::Parser::Expat , i have the dll present the mentioned location but still i get this error.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-18 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found