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
  • Hi,

    nrf Connect Terminal overwrites LD_LIBRARY_PATH.

    Let us first look into this. It might be that it does not overwrite it, but that it loads some different configuration files for the terminal than what is done normally by bash. Not saying that is better, but if we know which one it is we can better fix this issue.

    Where do you set LD_LIBRARY_PATH in your system?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi,

    nrf Connect Terminal overwrites LD_LIBRARY_PATH.

    Let us first look into this. It might be that it does not overwrite it, but that it loads some different configuration files for the terminal than what is done normally by bash. Not saying that is better, but if we know which one it is we can better fix this issue.

    Where do you set LD_LIBRARY_PATH in your system?

    Regards,
    Sigurd Hellesvik

Children
No Data
Related