This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrfjprog 9.3.1 could not find libjlinkarm.dylib (6.12a) unless the library is in the same folder where you run nrfjprog.

Dear Nordic Engineer,

I need to work on nRF52, my Macbook Air has OSX Yosemite 10.10.5 - I can run "make" or "nrfjprog" only if I copied libjlinkarm.dylib into the same folder that I execute the make or nrfjprog.

I set up PATH to run nrfjprog from anywhere but I could not tell nrfjprog to find the libjlinkarm.dylib

I will get error message

ERROR: JLinkARM DLL not found. Please reinstall latest JLinkARM.

I appreciate any suggestion to fix this issue.

Thank you.

  • Did you install the Segger driver in the default location?

    When installing on Mac OS X or Linux, the SEGGER software must be installed in its default location, or the shared library must be placed so that dlopen() can find it. The default location is:

    On Mac OS X: /Applications/SEGGER/JLink

    On Linux: /opt/SEGGER/JLink

  • Hello Jorgen, No when SEGGER software was installed on my Macbook air, it was automatically installed under /Applications/SEGGER Embedded Studio 3.10i.app/ folder and the libjlinkarm.dylib was located under /Applications/SEGGER Embedded Studio 3.10i.app/bin. After getting your comments, I created /Applications/SEGGER/JLink/ folder and copied libjlinkarm.dylib to /Applications/SEGGER/JLink/ folder and it works now.

    Thank you very much for information about the default location.

    • Summit
Related