Come into problem with nrfjprog install.

I download the zip file(nrf-command-line-tools-10.15.4_amd64.zip) in the website.

And then I unzip it get the following structure files:

JLink_Linux_V758b_x86_64.deb
JLink_Linux_V758b_x86_64.rpm
JLink_Linux_V758b_x86_64.tgz
nrf-command-line-tools-10.15.4-1.amd64.rpm
nrf-command-line-tools_10.15.4_amd64.deb
nrf-command-line-tools-10.15.4_Linux-amd64.tar.gz

And then I tar the nrf-command-line-tools-10.15.4_Linux-amd64.tar.gz file get two new file

nrf-command-line-tools/ and readme.txt

according to the readme.txt I use sudo dpkg -i nrf-command-line-tools_10.15.4_amd64.deb and failed:

the error info is :

(Reading database ... 232811 files and directories currently installed.)
Preparing to unpack nrf-command-line-tools_10.15.4_amd64.deb ...
Unpacking nrf-command-line-tools (10.15.4) over (10.15.4) ...
dpkg: dependency problems prevent configuration of nrf-command-line-tools:
 nrf-command-line-tools depends on libc6 (>= 2.25); however:
  Version of libc6:amd64 on system is 2.23-0ubuntu11.3.

dpkg: error processing package nrf-command-line-tools (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nrf-command-line-tools

how could I solve the problem ?

Parents
  • Hi,

    In the documentation page for installing nRF command line tools, you can read that before you install nrf command line tools on Linux, it is expected for Segger software to be installed in the default location, whiich is  /opt/SEGGER/JLink. Could you please confirm that Segger software is properly installed on your system and that it is located on the proper path?

    Apart from zip file that you downloaded and used, in the command line tools downloads page you can also find 3 more files that you can use for downloading nrf command line tools on Linux.
    Could you please try using .deb and .tar.gz files for the installation and share the results here?

    Best regards,
    Dejan

  • Thanks  for your answer!

    I have check the Jlink has been installed,and I set the env path like:

    export PATH=/opt/SEGGER/JLink_V750a:"$PATH"

    Actually I have tried the deb file to install the problem is the same,it shows that the libc6 on my unbuntu is two low .

    After I search the resources,I found the libc6 can't be upgraded.

    So I downloaded the lower version 10_13_0,and successfully get the file structure the official doc gives.

    But when I use the nrfjprog ,It throws another problem:

    ERROR: nrfjprog DLL load failed. Try again. If it keeps failing, please
    ERROR: reinstall nrfjprog.

    I have searched the doc ,nrfjprog return codes 21 is the problem.

    So could you please help me solve the problem?

  • Hi,

    Which version of the Ubuntu Linux operating system do you use?

    Which file with the version 10_13_0 have you downloaded? Have you also installed it?

    Best regards,
    Dejan

Reply Children
No Data
Related