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

nrfjprog v9.7.2 (and newer) require newer glibc on GNU/Linux 64 bit?

I have been struggling with getting nrfjprog working on CentOS 7.x. Each invocation results in the following error due to the version of glibc used to link the nrfjprog binary:

$ nrfjprog --version
nrfjprog: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by nrfjprog)

Today I finally had some time to dive into this issue and tried downgrading to older versions of the nRF5x Command Line Tools. It appears that with version 9.7.2, something was changed when linking the binary to be distributed. Downgrading to version 9.7.1 (and older) works. This, however, is not a viable solution in the long run.

Is it possible to provide the newer versions of nrfjprog linked against and older glibc (e.g. GLIBCXX_3.4.19, which seems to be widely available in Long Term Supported GNU/Linux distributions like CentOS)?

Related