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