case about compatibility issues of ZBOSS NCP Host (2.2.5) on 64-bit Ubuntu 18.04 Linux

Hi,

During our testing of the Zigbee NCP sample, we encountered some compatibility issues. We have flashed the NCP sample firmware onto an nRF52840 Dongle using SDK version v2.9.0, following the steps outlined in this documentation:
https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/samples/zigbee/ncp/README.html

We then proceeded to build the ZBOSS NCP Host (2.2.5) sample successfully on a 64-bit Ubuntu 18.04 Linux development board, referring to the guide here:
https://ncsdoc.z6.web.core.windows.net/zboss/3.11.6.0/zboss_ncp_host.html

After connecting the nRF52840 Dongle to the development board, we encountered an error when trying to run the application. The error indicated that we need to upgrade the GLIBC version to 2.34 or higher .

Our current system has GLIBC 2.27 , and we are unable to upgrade it at this time, as doing so might cause compatibility issues with other software on the system.

We also tried running the same setup in a virtual machine with the same environment, but encountered the same issue.

Do you have any suggested solutions for this problem?

Kind regards,
jackmisaki

  • I understand the situation you are in but the prebuilt binaries require a newer GLIBC than is available on Ubuntu 18.04. If you just want something that works without having to tweek a lot, I would rebuild the host right on your Ubuntu 18.04 machine. That way, everything links against the system’s glibc (2.27) and you are off to the races in minutes.

    If you absolutely can’t recompile the binary or you need a newer toolchain, then spin up a lightweight Docker (or even an LXD) container based on Ubuntu 22.04. Do all your builds and runs in there, you will get glibc 2.34 by default and your host box stays untouched.

  • Hi Susheel Nuguru,

    1.Please provide detailed operation steps. Neither I nor the client are very familiar with the operations on Ubuntu.

    2. Can you solve the mistakes in the above picture?

    Kind regards,
    Peter.Min

Related