Fri May 28 07:21:05 2010: Request 57948 was acted upon. Transaction: Ticket created by m...@iki.fi Queue: PAR-Packer Subject: Bug report: pp-generated executable and a missing dependency libgcc_s_sjlj-1.dll Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: m...@iki.fi Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=57948 >
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