nrf Connect Terminal LD_LIBRARY_PATH problem

nrf Connect Terminal overwrites LD_LIBRARY_PATH. I have added SEGGER JLink path to it so nrfjprog and JLink can dynamically link to the JLink dot so files. This works on Bash and ZSH outside nrf Connect terminal. 

Please see the screenshots below from the terminal window in VSCode:

I have found below template hoping that I can somehow insert JLink library path:

"nrf-connect.terminalProfile.shell": {
"path": "/usr/bin/zsh",
"args": []
},
however I'm not sure whether LD_LIBRARY_PATH is append-able for nrf Connect Terminal. How can I fix this problem ? 
Parents
  • I still have the same problem:

    nrfjprog -v
    [error] [SeggerBackend] - Error in dlopen: libjlinkarm.so: cannot open shared object file: No such file or directory
    [error] [ Worker] - Dll failed to open.
    [error] [ Client] - Encountered error -101: Command open executed for 11 milliseconds with result -101
    ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
    ERROR: reinstall latest JLinkARM from Segger webpage.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

Reply
  • I still have the same problem:

    nrfjprog -v
    [error] [SeggerBackend] - Error in dlopen: libjlinkarm.so: cannot open shared object file: No such file or directory
    [error] [ Worker] - Dll failed to open.
    [error] [ Client] - Encountered error -101: Command open executed for 11 milliseconds with result -101
    ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
    ERROR: reinstall latest JLinkARM from Segger webpage.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

Children
Related