My program uses XML::LibXML and the program run OKAY as a perl script and OKAY for executable inside the machine that has strawberry in it.

And after packing and moving to a system without perl running in Windows the program fails and below is the error Im seeing when Im running the executable file

Can't load 'C:\Users\USERAG~1\AppData\Local\Temp\par-757365726167656e7 +4\cache-7fbc98159acd276f8c1ee547b5190a92ff3b8ccb\0587ab56.xs.dll' for + module XML::LibXML: load_file:The specified module could not be foun +d at C:/Strawberryperl/perl/lib/DynaLoader.pm line 193. at C:/Strawberryperl/perl/vendor/lib/PAR/Heavy.pm line 123. BEGIN failed--compilation aborted at XML/LibXML.pm line 156. Compilation failed in require at script/changepassv8.pl line 8. BEGIN failed--compilation aborted at script/changepassv8.pl line 8.

The error is due to that the compilation is not compatible with windows 10 instead it work on windows7, windows8.x. will look to different solution on how to run this the same script in windows10. Thank you


In reply to Solved: Error when using the executable perl in client machine that does not have strawberry-perl in it by francism8

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.