Bah! I should have known to use Dependency Walker, having put it to this exact use in the past.
Running it on the pp generated exe file does not work, though, as it is a self extracting zip archive which then starts a perl process which depends.exe does not see. However, running it directly on the original xs.dll file works.
depends.exe C:\berrybrew\5.24.1_64_PDL\perl\vendor\lib\auto\Imager\File\TIFF\TIFF.xs.dllThis returns the usual windows components, as well as PERL524.DLL, and LIBTIFF-5.DLL. The latter is the important part, and in turn depends on LIBJPEG-9__.DLL, LIBLZMA-5__.DLL and ZLIB1__.DLL. The libtiff dll and its dependencies need to be packed with the executable, or in the user's path, for the packed exe to work.
A working packer command should therefore be something like this (updating the paths as appropriate):
pp -x --link c:\berrybrew\5.24.1_64_PDL\c\bin\libtiff-5__.dll --link c:\berrybrew\5.24.1_64_pdl\c\bin\LIBJPEG-9__.DLL --link c:\berrybrew\5.24.1_64_pdl\c\bin\LIBLZMA-5__.DLL --link c:\berrybrew\5.24.1_64_pdl\c\bin\ZLIB1__.DLL -o outputname.exe scriptname.plIt works for me on my system.
Shawn
In reply to Re^7: Imager::File::TIFF Dependencies
by swl
in thread Imager::File::TIFF Dependencies
by BrentD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |