Skip to content

ci: replace x86_64-unknown-linux-gnu with musl target for static binaries#267

Open
vanackere wants to merge 1 commit intortk-ai:masterfrom
vanackere:musl-build
Open

ci: replace x86_64-unknown-linux-gnu with musl target for static binaries#267
vanackere wants to merge 1 commit intortk-ai:masterfrom
vanackere:musl-build

Conversation

@vanackere
Copy link

The current x86_64-unknown-linux-gnu release binary dynamically links against glibc, which causes failures on systems with an older glibc version:

rtk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by rtk)

This PR replaces the x86_64-unknown-linux-gnu build target with x86_64-unknown-linux-musl, producing a fully statically-linked binary with no libc dependency.

…ries

The current x86_64-unknown-linux-gnu release binary dynamically links against glibc, which causes failures on systems with an older glibc version:

rtk: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by rtk)

Replace the x86_64-unknown-linux-gnu build target with x86_64-unknown-linux-musl, producing a fully statically-linked binary with no libc dependency.

Fixes rtk-ai#265 - binary fails on systems with old glibc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant