Monks-

I've been learning to use the PAR-Packager (pp) command to build a windows executable of a simple test perl script, and it seems to be working great!

Next, I've learned about how to use PAR::Filter::Bleach (to remove all those unsightly printable characters from the source), and it works great too!

Now, I'm trying to use PAR::Filter::Crypto (to encrypt all those pesky printable characters in the source), and it fails when I try to run the executable on a pristine windows machine.

Note that it seems to work fine on the windows PC that I created the executable on, but taking it to another windows machine, the stand-alone executable fails with the following message:

>hello

Can't load 'C:\Users\dolph\AppData\Local\Temp\par-646f6c7068\cache-7e6a9a64588de12bc2c819565104dbfdc74fb296\e20507bc.xs.dll' for module Filter::Crypto::Decrypt: load_file:The specified module could not be found at <embedded>/DynaLoader.pm line 193.

at <embedded>/PAR/Heavy.pm line 140.

BEGIN failed--compilation aborted at C:\Users\dolph\AppData\Local\Temp\par-646f6c7068\cache-7e6a9a64588de12bc2c819565104dbfdc74fb296\inc\lib/Filter/Crypto/Decrypt.pm line 39.

Compilation failed in require at C:\Users\dolph\AppData\Local\Temp\par-646f6c7068\cache-7e6a9a64588de12bc2c819565104dbfdc74fb296\inc\lib/Data/Dumper.pm line 1.

BEGIN failed--compilation aborted at C:\Users\dolph\AppData\Local\Temp\par-646f6c7068\cache-7e6a9a64588de12bc2c819565104dbfdc74fb296\inc\lib/Data/Dumper.pm line 1.

Compilation failed in require at script/hello.pl line 5.

BEGIN failed--compilation aborted at script/hello.pl line 5.

Please help me figure out what I'm doing wrong.

Thanks

-Craig

Here is the Perl test script I'm using:

#!/opt/homebrew/bin/perl use strict; use warnings; use Data::Dumper; print "Hello There...\n";
Here is the command that I use to generate the executable:
pp -v -F Crypto -M Filter::Crypto::Decrypt -o hello.exe hello.pl


In reply to PAR::Filter::Crypto Fails by cmv

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.