Ppeoc has asked for the wisdom of the Perl Monks concerning the following question:

Hey Monks, This question has been posted a couple of times before. I have looked through the solutions posted as well. But I have still not been able to fix my issue. I need to make a standalone exe which can run on systems without perl. The exe I have runs perfectly on systems that have perl. But on new systems, it just bombs out. I have been using
pp -x -o Test_file.exe
On reading up more, I figure I need to use
pp -x -link dll file -o Test_file.exe
I use the module LibXML in my script and this is the error I get. C:\Windows\temp\par-707072617461706b\cache-e7ed955a0556640896b5479a0befbe205af169df\75dbd567.dll' for module XML::LibXML: load_file:The specified module could not be found at C:/Dwimperl/perl/lib/ line 190. at C:/Dwimperl/perl/site/lib/PAR/ line 120. How do I know what dll files need to be included? I have also downloaded Dependency Walker. It gives me an error opening file for API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL and other such dlls. I am not sure is this is even relevant. This is driving me crazy :( Would really appreciate some help. Thank you!

Replies are listed 'Best First'.
Re: Using PAR Packer to convert into an exe file (ppsimple)
by Anonymous Monk on Jun 17, 2016 at 00:43 UTC
    Try it should pickup all the .dlls required