Could not open J-Link shared library

From SEGGER Wiki
Jump to: navigation, search

Under certain conditions, a SEGGER application terminates immediately after startup with the error message "Could not open J-Link shared library. Exiting now." or the like. The following article discusses the most common reasons for this error.

macOS / Linux

Please check if the folder containing the J-Link shared library has been deleted or renamed.


The J-Link shared library links against as this is the one that is shipped with most current Linux distributions. In latest distributions, is no longer shipped, only .so.1 However, since the J-Link shared library currently does not use the so.1 features (but cannot ship a libudev with the J-Link Software and Documentation Pack for licensing reasons) a .so.0 would work too.

Therefore, if a Linux distribution only ships with / supports, a symlink pointing from to (e.g. /lib64/ -> /lib64/ will work as a workaround for this issue.


Some applications do not come with their own copy of the J-Link DLL, but instead load the the newest one installed from the path saved in the registry. If loading the J-Link DLL from this path fails, a message box like the following will appear:


The most common reasons for this issue are:

  • The folder of the most recent SEGGER software installation has been deleted manually (without using the uninstall application)
  • The JLinkARM.dll in the most recent SEGGER software installation directory has been renamed
  • The registry entry containing the path has been deleted or corrupted, e.g. by a registry "cleaning" software or by terminating or "restricting" (e.g. by a security software) the SEGGER software installer while it is updating the registry entry

In order to resolve this issue, one of the following can be done:

  • Copy the JLinkARM.dll from the SEGGER software installation directory to the folder containing the executable of the application which does not start
  • Re-Run the installer of the J-Link Software and Documentation Pack

Further Questions

If there are further questions regarding this issue or it seems that the SEGGER software itself causes this issue, please do not hesitate to contact SEGGER support.