You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10: Error: 501 Can't load c8c63bf2.xs.dll for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)
#21
Closed
hakonhagland opened this issue
Jun 19, 2020
· 2 comments
I am trying to create an .exe from the following Perl script:
use strict;
use warnings;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();
my $res = $ua->get( 'https://metacpan.org/pod/pp');
if ($res->is_success) {
print "ok\n";
}
else {
die $res->status_line;
}
On Windows 10, with Strawberry Perl, perl version 5.30.1, running pp from command prompt:
pp -o p4.exe -x p.pl
produces an executable p4.exe that runs fine on the current machine and produces output ok. When I upload the p4.exe to another windows 10 machine that does not have perl installed and run it I get output:
501 Can't load 'C:\Users\hakon\AppData\Local\Temp\par-68616b6f6e\cache-2fc254075e68b8cca263637e29f9a640f6669c6a\c8c63bf2.xs.dll' for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed) at script/p.pl line 12.
If I run pp with verbose option, I can see that it packages LWP::Protocol::https:
The text was updated successfully, but these errors were encountered:
hakonhagland
changed the title
501 Can't load 'C:\Users\hakon\AppData\Local\Temp\par-68616b6f6e\cache-2fc254075e68b8cca263637e29f9a640f6669c6a\c8c63bf2.xs.dll' for module Net::Windows 10: SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)
Windows 10 501 Can't load c8c63bf2.xs.dll for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)
Jun 19, 2020
hakonhagland
changed the title
Windows 10 501 Can't load c8c63bf2.xs.dll for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)
Windows 10: Error: 501 Can't load c8c63bf2.xs.dll for module Net::SSLeay: load_file:The specified module could not be found (LWP::Protocol::https not installed)
Jun 19, 2020
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.
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
The text was updated successfully, but these errors were encountered: