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:
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:
Here is the command that I use to generate the executable:#!/opt/homebrew/bin/perl use strict; use warnings; use Data::Dumper; print "Hello There...\n";
pp -v -F Crypto -M Filter::Crypto::Decrypt -o hello.exe hello.pl
In reply to PAR::Filter::Crypto Fails by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |