http://www.perlmonks.org?node_id=1003767


in reply to if Digest::SHA1 loaded Can't load LibXML/LibXML.dll Invalid access to memory location

I know I've struck the same problem, where the order in which the modules were loaded determined whether I got that error or not.
And I know the modules with which I had this trouble were not the 2 that you have specified ... but I can't remember precisely which modules it was for me.
I also know that I didn't ever come to an understanding of exactly what was going wrong ... but I know I found a way to make the problem vanish, and I *think* (not entirely sure) that the problem vanished once I made sure that it was the same (MinGW port of gcc) compiler that had built perl && the 2 problematic modules && all third party libraries upon which the modules relied.

So maybe try that (if applicable). At least, if you think it might be worth the effort, make sure that Digest::SHA1, XML::LibXML, and your XML library are all built by the same compiler - even if that's not the compiler that actually built perl.

What's your perl -V ?

Cheers,
Rob
  • Comment on Re: if Digest::SHA1 loaded Can't load LibXML/LibXML.dll Invalid access to memory location
  • Download Code

Replies are listed 'Best First'.
Re^2: if Digest::SHA1 loaded Can't load LibXML/LibXML.dll Invalid access to memory location
by Anonymous Monk on Nov 14, 2012 at 10:03 UTC

    ... and I *think* (not entirely sure) that the problem vanished once I made sure that it was the same (MinGW port of gcc) compiler that had built perl && the 2 problematic modules && all third party libraries upon which the modules relied.

    thank you, I had a vague notion of deja vu but I just couldn't remember the details -- there is a high probability this is the exact issue