raylibtech / rtools

rtools feedback and issues
17 stars 1 forks source link

Running compiled version on ubuntu 20.04.6 LTS fails with glibc version error. #29

Closed michaelfiber closed 11 months ago

michaelfiber commented 1 year ago

./rtexpacker: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by ./rtexpacker) ./rtexpacker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./rtexpacker) ./rtexpacker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./rtexpacker)

ldd --version shows: ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31

Making note of it here in case anybody else encounters it. I am not planning to update glibc in Ubuntu but I was planning on doing a whole OS wipe and update soon so I was going to fix it that way when I get to it.

If it can be recompiled targeting an older version that would be handy but I understand if that doesn't happen.

raysan5 commented 1 year ago

@michaelfiber I looked for a solution to this issue and I found I can force my tools building on Ubuntu 20.04 (glibc 2.31) instead of Ubuntu 22.04 (glibc 2.35), that is the current build host machine.

Do you know if tools compiled with glibc 2.31 would be also compatible with Ubuntu 22.04? I prefer to avoid multiple releases for the same platform.