Martin A. Brooks
2014-10-27 20:16:26 UTC
Hello
I am attempting to get a chunk of Perl dressed up as a Windows executable
using pp. This appears to be successful but the following warnings are
being emitted:
# Use of runtime loader module Module::Implementation detected. Results of
static scanning may be incomplete.
# Use of runtime loader module Module::Runtime detected. Results of static
scanning may be incomplete.
Indeed, when I run the .exe from a Windows command prompt, it runs just
fine.
However, in its final use, the program is being called from another piece
of software, a monitoring agent, which runs as a Windows service. It shows
the following error in its log file on execution:
PID 912: [Mon Oct 27 09:32:34 2014] PLUGIN RESULTS: exit=2; text=Can't
load
'C:\Windows\TEMP\par-4c41444353484e4153484353303124\cache-d9195d87261f3a64d0321e0b38ad4246ee284110\a900cac0.xs.dll'
for module Net::SSH2: load_file:The specified module could not be found at
C:/Strawberry/perl/lib/DynaLoader.pm line 193./ at
C:/Strawberry/perl/vendor/lib/PAR/Heavy.pm line 120./Compilation failed in
require at script/check_hnas.pl line 17./BEGIN failed--compilation aborted
at script/check_hnas.pl line 17.
To my amateur eye, this looks environmental but I confess to not having the
slightest idea what to do about it. I am hoping someone on this list would
be able to point me in the right direction. Any ideas?
Thanks in advance.
Regards
Martin A. Brooks
I am attempting to get a chunk of Perl dressed up as a Windows executable
using pp. This appears to be successful but the following warnings are
being emitted:
# Use of runtime loader module Module::Implementation detected. Results of
static scanning may be incomplete.
# Use of runtime loader module Module::Runtime detected. Results of static
scanning may be incomplete.
Indeed, when I run the .exe from a Windows command prompt, it runs just
fine.
However, in its final use, the program is being called from another piece
of software, a monitoring agent, which runs as a Windows service. It shows
the following error in its log file on execution:
PID 912: [Mon Oct 27 09:32:34 2014] PLUGIN RESULTS: exit=2; text=Can't
load
'C:\Windows\TEMP\par-4c41444353484e4153484353303124\cache-d9195d87261f3a64d0321e0b38ad4246ee284110\a900cac0.xs.dll'
for module Net::SSH2: load_file:The specified module could not be found at
C:/Strawberry/perl/lib/DynaLoader.pm line 193./ at
C:/Strawberry/perl/vendor/lib/PAR/Heavy.pm line 120./Compilation failed in
require at script/check_hnas.pl line 17./BEGIN failed--compilation aborted
at script/check_hnas.pl line 17.
To my amateur eye, this looks environmental but I confess to not having the
slightest idea what to do about it. I am hoping someone on this list would
be able to point me in the right direction. Any ideas?
Thanks in advance.
Regards
Martin A. Brooks