develooper Front page | perl.par | Postings from April 2019

[ #129005] Issue with Tk::PNG

Thread Previous
Michael Barraza via RT
April 3, 2019 17:59
[ #129005] Issue with Tk::PNG
Message ID:
Wed Apr 03 13:59:42 2019: Request 129005 was acted upon.
Transaction: Ticket created by
       Queue: PAR-Packer
     Subject: Issue with Tk::PNG
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
      Status: new
 Ticket <URL: >

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/ line 190 at D:/strawberry/perl/lib/PAR/ line 123"

The fix suggested in the report was:

"As discussed on the mailing list ( 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:

Where do I find these dll files?  They do not currently reside on my system.
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.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About