Closed hakonhagland closed 4 years ago
Your exe misses the libssl* DLL (and other DLLs it depends on) which .../SSLeay.dll is linked against.
PAR::Packer does not pack these non-Perl DLL dependencies. You can either chase them done and explicitly pack them by hand with pp --link ...
, see for instance this thread in the par@perl.org mailing list. Or use Shawn Laffan's App::PP::Autolink that does this for you.
Thank you! Using App::PP::Autolink
worked fine. I was missing: libssl-1_1-x64__.dll
, zlib1__.dll
, and libcrypto-1_1-x64__.dll
I am trying to create an
.exe
from the following Perl script:On Windows 10, with Strawberry Perl, perl version 5.30.1, running
pp
from command prompt:produces an executable
p4.exe
that runs fine on the current machine and produces outputok
. When I upload thep4.exe
to another windows 10 machine that does not haveperl
installed and run it I get output:If I run
pp
with verbose option, I can see that it packagesLWP::Protocol::https
:Any ideas what is going on?
See also this issue on stackoverflow.com