trunk-rs / trunk

Build, bundle & ship your Rust WASM application to the web.

Home Page:https://trunkrs.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libm.so.6 version required by trunk does not match in official rust image

lokxii opened this issue · comments

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?

I switched the base image to rust:1.75-slim-bookworm and everything is working fine again.