Tool-renode failed with "version GLIBC_PRIVATE not found"

I downloaded the renode package from packageio registry and when attempting to run the firmware elf file through renode, I got the following error -

./renode: /lib/x86_64-linux-gnu/ version ``GLIBC_PRIVATE' not found (required by ./renode)

When looking at the ldd output I got the following -

./renode: /lib/x86_64-linux-gnu/ version `GLIBC_PRIVATE' not found (required by ./renode) (0x00007ffce8e6a000) => /lib/x86_64-linux-gnu/ (0x00007f8dbbd7d000) => /lib/x86_64-linux-gnu/ (0x00007f8dbbd78000) => /lib/x86_64-linux-gnu/ (0x00007f8db9c00000)
        /lib64/ (0x00007f8dbbd96000)

        Version information:
       (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/
       (GLIBC_2.3) => /lib64/
       (GLIBC_PRIVATE) => not found
       (GLIBC_2.3.3) => /lib/x86_64-linux-gnu/
       (GLIBC_2.12) => /lib/x86_64-linux-gnu/
       (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/
       (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/
       (GLIBC_2.15) => /lib/x86_64-linux-gnu/
       (GLIBC_2.8) => /lib/x86_64-linux-gnu/
       (GLIBC_2.14) => /lib/x86_64-linux-gnu/
       (GLIBC_2.7) => /lib/x86_64-linux-gnu/
       (GLIBC_2.6) => /lib/x86_64-linux-gnu/
       (GLIBC_2.10) => /lib/x86_64-linux-gnu/
       (GLIBC_2.3) => /lib/x86_64-linux-gnu/
       (GLIBC_2.4) => /lib/x86_64-linux-gnu/
       (GLIBC_2.16) => /lib/x86_64-linux-gnu/
       (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/
       (GLIBC_2.17) => /lib/x86_64-linux-gnu/
       (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/
       (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/
       (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/
       (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/
       (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/
       (GLIBC_2.2.5) => /lib64/
       (GLIBC_2.3) => /lib64/
       (GLIBC_PRIVATE) => /lib64/

I am not sure why it is happening and Google search does not really turn up anything useful.

I run PlatformIO 6 on Ubuntu 22.04 LTS and with latest updates.

This is reproducable.

$ ./renode 
./renode: /lib/x86_64-linux-gnu/ version `GLIBC_PRIVATE' not found (required by ./renode)
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

The compiled package seems to come from Renode themselves. Even the latest 1.13.3 release has GLBIC_PRIVATE in the strings. But, that at least runs for me.

Can you download

And use it to replace the content in ~/.platformio/packages/tool-renode? The .piopm and package.json files should be kept intact.

Issue filed per

CC @ivankravets, Renode portable executables cannot be expected to be portably runnable forever it seems and are a timebomb.

1 Like

@valeros, please provide an updated tool-renode package. See Older release unstartable: GLIBC_PRIVATE not found · Issue #488 · renode/renode · GitHub

Hi Max, the attached renode v1.13.3 launches with the Renode window.