Environment
- OS: Alpine Linux 3.23 (TermOS 0.4.0 Prerelease)
- Architecture: aarch64
- treemd version: 0.5.4
Problem
The pre-built binary fails to run on Alpine Linux due to glibc dependencies. Alpine uses musl libc instead of glibc.
Error
$ treemd
Error relocating /usr/bin/treemd: __res_init: symbol not found
Running ldd shows multiple missing glibc-specific symbols:
Error relocating /usr/bin/treemd: __memcpy_chk: symbol not found
Error relocating /usr/bin/treemd: __snprintf_chk: symbol not found
Error relocating /usr/bin/treemd: __vsnprintf_chk: symbol not found
Error relocating /usr/bin/treemd: gnu_get_libc_version: symbol not found
Error relocating /usr/bin/treemd: __res_init: symbol not found
Even with gcompat (glibc compatibility layer) installed, these symbols are not available.
Request
Would it be possible to provide a musl-compatible binary for Alpine Linux users?
Since treemd is written in Rust, building with x86_64-unknown-linux-musl or aarch64-unknown-linux-musl target should produce a compatible binary.
Alternatively, a statically-linked binary would also work.
Thank you!
Environment
Problem
The pre-built binary fails to run on Alpine Linux due to glibc dependencies. Alpine uses musl libc instead of glibc.
Error
$ treemd
Error relocating /usr/bin/treemd: __res_init: symbol not found
Running
lddshows multiple missing glibc-specific symbols:Error relocating /usr/bin/treemd: __memcpy_chk: symbol not found
Error relocating /usr/bin/treemd: __snprintf_chk: symbol not found
Error relocating /usr/bin/treemd: __vsnprintf_chk: symbol not found
Error relocating /usr/bin/treemd: gnu_get_libc_version: symbol not found
Error relocating /usr/bin/treemd: __res_init: symbol not found
Even with
gcompat(glibc compatibility layer) installed, these symbols are not available.Request
Would it be possible to provide a musl-compatible binary for Alpine Linux users?
Since treemd is written in Rust, building with
x86_64-unknown-linux-musloraarch64-unknown-linux-musltarget should produce a compatible binary.Alternatively, a statically-linked binary would also work.
Thank you!