ANONYMOUS wrote:
> I'm using Ubuntu (I think 22.04)
You should be able to see your version with
cat /etc/os-release
Here's my thinking: while your system has shared libraries for libm, libc, and libstdc++ (reported by
ldd
)
> /usr/local/bin/cnet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /usr/local/bin/cnet)
> ....
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7a201cd000)
the error message suggests that your system has an earlier version of things. My Ubuntu 23.04 system has GLIBC_2.38 (I update my system/libraries about every week with
sudo apt upgrade
).
If I run
ldd -v /usr/local/bin/cnet | grep libm.so
, it reports (long):
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4c60331000)
libm.so.6 (GLIBC_2.38) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.23) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.29) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.38) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.29) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.38) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.29) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.38) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.35) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.29) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
/lib/x86_64-linux-gnu/libm.so.6:
libm.so.6 (GLIBC_2.35) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.29) => /lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
which (I think) is reporting the versions of GLIBC with which the installed
/lib/x86_64-linux-gnu/libm.so.6
library provides backwards-compatability (2.38 being the highest). Does your system show 2.38 (or higher), or a lower maximum?
Could you try updating your libraries with
apt
if you haven't in a while?