sd
sd copied to clipboard
the musl binary for linux doesn't work
trafficstars
I am on an old linux machine that i cannot upgrade. The musl release is what i usually use for installing,eg, ripgrep or fd-rust The musl release binary sd-v0.7.6-x86_64-unknown-linux-musl does not work. Error message: ./sd-v0.7.6-x86_64-unknown-linux-musl: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./sd-v0.7.6-x86_64-unknown-linux-musl)
$ sha1sum sd-v0.7.6-x86_64-unknown-linux-gnu
01493bf75e54af2578340c164ee9c41f32861a13 sd-v0.7.6-x86_64-unknown-linux-gnu
$ sha1sum sd-v0.7.6-x86_64-unknown-linux-musl
01493bf75e54af2578340c164ee9c41f32861a13 sd-v0.7.6-x86_64-unknown-linux-musl
It looks like this should be fixed on the current master. I did a test run of publishing here, and the x64 linux musl asset does appear to actually link to musl
$ ldd sd-1.0.0-pre-alpha.2-x86_64-unknown-linux-musl
statically linked
That means that this should be fixed with the next release