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/libpthread.so.0: version ``GLIBC_PRIVATE' not found (required by ./renode)

When looking at the ldd output I got the following -

./renode: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by ./renode)
        linux-vdso.so.1 (0x00007ffce8e6a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8dbbd7d000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8dbbd78000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8db9c00000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8dbbd96000)

        Version information:
        ./renode:
                libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                libpthread.so.0 (GLIBC_PRIVATE) => not found
                libpthread.so.0 (GLIBC_2.3.3) => /lib/x86_64-linux-gnu/libpthread.so.0
                libpthread.so.0 (GLIBC_2.12) => /lib/x86_64-linux-gnu/libpthread.so.0
                libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
                libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                libc.so.6 (GLIBC_2.15) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.8) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.6) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.10) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.16) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.17) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libdl.so.2:
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libpthread.so.0:
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libc.so.6:
                ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

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/libpthread.so.0: 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

https://github.com/renode/renode/releases/download/v1.13.3/renode-1.13.3.linux-portable.tar.gz

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.