[rt.cpan.org #120131] PAR::Packer DynaLoader Problem On Strawberry Perl 5.24.1

"Roderich Schupp via RT" <[email protected]>
Newsgroups gmane.comp.lang.perl.par
Message-ID <[email protected]>
Tue Feb 07 12:14:22 2017: Request 120131 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: PAR::Packer DynaLoader Problem On Strawberry Perl 5.24.1
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: rejected
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120131 >


On 2017-02-07 11:34:00, [email protected] wrote:
> I tried the pp command with the --link libpng16-16__.dll option and
> found  libpng16-16__.dll included with the executable (it definitely
> wasn't without the --link option) but running the executable on a
> Windows 10 machine with no Perl installed produced exactly the same
> error.
> 
> It seems to me that e88b1fb1.xs.dll is some kind of dynamic file which
> gets created if Perl is installed but not if there is no Perl.

No, it's not a dynamic file, it's actually one of the files that you see with

unzip -l your.exe

but extracted into the cache area with a different name (it's the CRC32 checksum
of the original file's contents). My guess would be .../Tk/PNG/PNG.xs.dll 
(verify by comparing the output of md5sum or sha1sum for the two files).

Anyway, look up the DLLs that this file is actually linked with, e.g.

objdump -ax C:\Users\NTHOMP~1\AppData\Local\Temp\par-6e74686f6d70736f6e\cache-a689a490f84fa6e443fb002bba992a32a268b542\e88b1fb1.xs.dll | perl -ne 'print if /DLL 
Name/'

Most likely it's not only linked with some libpng*, but also some libz*. 
Add another --link option for that, rinse and repeat.

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.