Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile with old GLIBC or musl? #12

Open
dufferzafar opened this issue Jul 6, 2023 · 3 comments
Open

Compile with old GLIBC or musl? #12

dufferzafar opened this issue Jul 6, 2023 · 3 comments

Comments

@dufferzafar
Copy link

I'll try compiling on my box as well, but just wanted to leave this here:

I'm on an old Ubuntu 20.04 Focal

❯ fastgron
fastgron: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by fastgron)
fastgron: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by fastgron)
@adamritter
Copy link
Owner

Musl sounds like a great idea, static compilation is probably more portable than using an older glibc.

@dufferzafar
Copy link
Author

Yeah, I've seen rust tools shipping with a musl build precisely for this reason.

Of C++ applications, lnav is one that ships with a musl build: https://github.com/tstack/lnav/blob/master/.github/actions/muslbuilder/entrypoint.sh

@adamritter
Copy link
Owner

Cool, if you want to fix the release, you can start with changing the build here and send me a PR:

https://github.com/adamritter/fastgron/blob/main/.github/workflows/build.yml

Still, I appreciate your feedback :)

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

No branches or pull requests

2 participants