JLinkARM DLL can't be found by the command "nrfutil device list" on Linux

Hello,

I get this error when I try `nrfutil device list`, and any other nrfutil device command.

However, if I use `nrfutil device --jlink-dll /path/to/libjlinkarm.so list` for the correct version (JLink Linux V818), it works.

Where and how is nrfutil looking to find libjlinkarm.so file? I've tried modifying $LD_LIBRARY_PATH but that doesn't work. I have all of the latest versions of JLink installed in /usr/pack, and I'd prefer to have nrfutil look there.

Using the above workaround is fine for some things, but I have issues with lots of other nRF tools, such as nRF Connect Desktop, nRF Connect for VS Code, and west flash/west debug, etc.

Related