sd icon indicating copy to clipboard operation
sd copied to clipboard

the musl binary for linux doesn't work

Open elkarouh opened this issue 4 years ago • 1 comments
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)

elkarouh avatar Feb 26 '21 09:02 elkarouh

$ 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

dmitry-auto1 avatar Apr 23 '21 13:04 dmitry-auto1

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

CosmicHorrorDev avatar Oct 22 '23 02:10 CosmicHorrorDev