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 Test_file.pl
On reading up more, I figure I need to use
pp -x -link dll file -o Test_file.exe Test_file.pl
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/DynaLoader.pm line 190.
at C:/Dwimperl/perl/site/lib/PAR/Heavy.pm 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!