Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 120127
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: james.rushworth [...] bozobus.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PAR::Packer DynaLoader Problem On Strawberry Perl 5.24.1
Date: Mon, 06 Feb 2017 15:36:38 -0700
To: bug-PAR-Packer [...] rt.cpan.org
From: "James P. Rushworth" <james.rushworth [...] bozobus.net>
Download (untitled) / with headers
text/plain 1.1k
The attached script when compiled with Strawberry Perl pp on 64bit Windows 10 creates an executable which will not run on a 64 bit Windows 10 machine which does not have Strawberry Perl installed, it won't run on a 64bit Windows 7 machine without Strawberry Perl installed either. The program will not run on a machine with ActiveState Perl installed giving the same error message. This is the error message: Can't load 'C:\Users\NTHOMP~1\AppData\Local\Temp\par-6e74686f6d70736f6e\cache-a689a490f84fa6e443fb002bba992a32a268b542\e88b1fb1.xs.dll' for module Tk::PNG: load_file:The specified module could not be found at C:/Perl64/perl/lib/DynaLoader.pm line 193. at C:/Perl64/perl/vendor/lib/PAR/Heavy.pm line 123. Compilation failed in require at script/module_test.pl line 39. BEGIN failed--compilation aborted at script/module_test.pl line 39. all of the modules after the DynaLoader comment cause a variation of this error message. This is the Perl version: C:\Users\james\perlapp>perl -v This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread and this is the module version: C:\Users\james>perl -MPAR::Packer -le "print $PAR::Packer::VERSION" 1.036
Download module_test.pl
text/x-perl 864b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 164b
As discussed on the mailing list (par@perl.org) the problem was resolved by adding --link ibpng16-16__.dll --link zlib1__.dll to the pp command. Cheers, Roderich


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.