0
responses

Hi all, I am configuring NXLog CE to use Perl on Windows. I understand that NXLog requires Strawberry Perl 5.28.1 to be installed on Windows host. Quote from document: "To use the xm_perl module on Windows, a separate Perl environment must be installed. Currently, the only environment supported is a specific version of Strawberry Perl, 5.28.2.1. Newer versions will not work."

I also have found in a user guide a requirement to include a lib path as a fisrt line of Perl script. Quote from document: "On Windows, the Perl script invoked by the PerlCode directive must define the Perl library paths at the beginning of the script to provide access to the Perl modules. nxlog-windows.pl"
use lib 'c:\Program Files\nxlog\data';

I installed Strawberry Perl 5.28.1. I tried to put different folders as Perl lib folders, I tried use lib 'C:\Strawberry\perl\lib'; or use lib 'C:\Strawberry\perl\bin'; or use lib 'c:\Program Files\nxlog\data'; (doesn't contain libs, right?).

However I still get this when running NXLog:

2021-11-09 14:45:54 ERROR Failed to load module from C:\Program Files (x86)\nxlog\modules\extension\xm_perl.dll, The specified module could not be found. ; The specified module could not be found.

So what are actually steps to get Perl (xm_perl) on Windows working?

AskedNovember 9, 2021 - 1:55pm

Answers (0)