This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect 3.2.0 Error CouldNotLoadDLL, Linux (Ubuntu 18.04)

Hi,


I'm trying to get nRF Connect 3.2.0 running (connecting to a nRF52 DK with a PCA10040) and keep getting a 'CouldNotLoadDLL' when starting the BLE app. I'm using Ubuntu 18.04 and have no (and won't get) root access, so I installed nRF Connect and JLink Software Pack via tar-gz-archives. JLinkExe connects just fine and Segger Embedded Studio has no trouble programming the BLE chip, just nRF Connect is having hiccups (with both the Programmer as well as the BLE app).

For the 'CouldNotLoadDLL'-error the Github documentation states, that one should ensure, that the JLink Software Pack is installed properly. Which I did via tar-extraction, though maybe nRF Connect can't find it? So were is it looking for it exactly? Or how can I tell it where to look? The documentation seems scarce about that information, though maybe I oversaw it.
I tried providing the search path via environment variables $PATH and $LD_LIBRARY_PATH, but without success. I also tried several JLink versions (always providing the corresponding path).
6.22g
6.50b (together with Command Line Tools 10.4.0)
6.52c

Btw, the problem also exists when I'm using the provided nRF Connect appimage-file. And I am in the dialout user group.

Log prompt from the BLE app:
13:22:29.916    Application data folder: [...]home/.config/nrfconnect/pc-nrfconnect-ble
13:22:30.084    Error while probing devices: Error occured when get serial numbers. Errorcode: CouldNotLoadDLL (0x3)
13:22:33.271    Validating connectivity firmware for device with serial number [xxxx]...
13:22:33.281    Connectivity firmware is valid.
13:22:33.282    Unsupported device with serial number '[xxxx]' and traits ["serialport"]


Thanks for helping. If you need more information, let me know.

Related