Subject: | Bug report: pp-generated executable and a missing dependency libgcc_s_sjlj-1.dll |
Date: | Fri, 28 May 2010 14:20:43 +0300 |
To: | bug-PAR-Packer [...] rt.cpan.org |
From: | mjk [...] iki.fi |
Platform: Windows XP SP3 32-bit, Windows Vista SP2 32-bit
Perl version: Strawberry Perl 5.12.0.1
PAR::Packer version: 1.004
Module installed via CPAN client
PAR::Packer pp command generates executable files under Windows
environment that depend on shared library called
"libgcc_s_sjlj-1.dll". It seems that parl.exe depends on this library.
If the target platform does not have this shared library somewhere in
the path, the following error message will be displayed:
---------------------------
pingtest.exe - Unable To Locate Component
---------------------------
This application has failed to start because libgcc_s_sjlj-1.dll was
not found. Re-installing the application may fix this problem.
---------------------------
OK
---------------------------
The project was compiled with the command-line: pp -o pingtest.exe pingtest.pl
If the libgcc_s_sjlj-1.dll is copied from the Strawberry Perl system
(C:\Strawberry\perl\bin\libgcc_s_sjlj-1.dll) to the same directory
with the pp-generated executable, the executable will work correctly.
Trying to include the DLL into the packed executable with an -a option
does not solve the problem.
Side-note: for some reason a dependency checker (for example cygcheck)
does not see that the generated executable depends on the
libgcc_s_sjlj-1.dll.
Best regards,
Matti Kärki