libm.so.6 version required by trunk does not match in official rust image
lokxii opened this issue · comments
lokxii commented
When I use trunk 0.18.1 installed with cargo binstall
in the official rust:1.75-slim-buster
image, I am getting
trunk: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by trunk)
trunk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by trunk)
trunk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by trunk)
trunk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by trunk)
trunk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by trunk)
trunk exited with code 1
This didn't happen in trunk 0.18. How can I fix this?
lokxii commented
I switched the base image to rust:1.75-slim-bookworm
and everything is working fine again.