One problem might be is that you have another libxml2.dll somewhere in your PATH which is a different version than the one XML::LibXML::Common was compiled with. Try searching within the directories of your PATH for another one, and if one is found, move it out of the way (temporarily, in case it's needed for some other application).