cmv has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR::Filter::Crypto Fails
by swl (Prior) on Apr 26, 2023 at 02:49 UTC | |
by cmv (Chaplain) on Apr 26, 2023 at 14:11 UTC | |
by swl (Prior) on Apr 26, 2023 at 23:05 UTC | |
|
Re: PAR::Filter::Crypto Fails
by eyepopslikeamosquito (Archbishop) on Apr 25, 2023 at 22:53 UTC | |
by cmv (Chaplain) on Apr 26, 2023 at 15:37 UTC | |
|
Re: PAR::Filter::Crypto Fails
by LanX (Saint) on Apr 25, 2023 at 21:51 UTC | |
by hv (Prior) on Apr 25, 2023 at 23:49 UTC | |
by LanX (Saint) on Apr 26, 2023 at 09:02 UTC | |
|
Re: PAR::Filter::Crypto Fails
by Anonymous Monk on May 01, 2023 at 23:47 UTC | |
by swl (Prior) on May 02, 2023 at 01:38 UTC |