Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: m_barraza23 [...] hotmail.com
Cc:
AdminCc:

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



Subject: Issue with Tk::PNG
Date: Wed, 3 Apr 2019 17:59:32 +0000
To: "bug-PAR-Packer [...] rt.cpan.org" <bug-PAR-Packer [...] rt.cpan.org>
From: Michael Barraza <m_barraza23 [...] hotmail.com>
Good morning, I was looking through Google about an issue I was having while trying to get my Tk app to run in a Windows 10 environment, and I stumbled upon a bug report (#120127) from back in 2017 where it seems it was the same issue I was having. The error I am getting is the following: "Can't load "long path/x.dll" for module Tk::PNG::load_file: The specified module could not be found at D:/strawberry/perl/lib/DynaLoader.pm line 190 at D:/strawberry/perl/lib/PAR/Heavy.pm line 123" The fix suggested in the report was: "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" I attempted to use that command, only finding the dll files online, but I was unsuccessful. I may have not downloaded the correct dll files. A few questions: 1. Where do I find these dll files? They do not currently reside on my system. 2. Since this is an older bug, has it been fixed since this initial report? My system configuration is as follows: perl -MPAR::Packer -le "print $PAR::Packer::VERSION" - 1.047 perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread The original report stated that the bug was reported using perl 5.24.1, so would that make a difference? Before I go and strip down my strawberry perl trying to find a fix, I wanted to see if there was an easier way. Thanks Mike
On 2019-04-03 13:59:42, m_barraza23@hotmail.com wrote: Show quoted text
> The error I am getting is the following: > > "Can't load "long path/x.dll" for module Tk::PNG::load_file: The >... > "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" >... > 1. > Where do I find these dll files? They do not currently reside on my > system.
If you have the Tk::PNG module installed, you *do* have these DLLs installed, otherwise your script wouldn't have run before packing it. But the actual names may be slightly different depending on your Strawberry version. For 5.16.3 --link libpng15-15_.dll --link zlib1_.dll should do the trick. Show quoted text
> 2. > Since this is an older bug, has it been fixed since this initial > report?
BTW, it's not a bug. PAR::Packer doesn't automagically pack required non-perl DLLs. Cheers, Roderich