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

x86_64-unknown-linux-gnu pre built binary requires glibc 2.38, which is a little too high #1

Closed
everything411 opened this issue Aug 21, 2024 · 6 comments

Comments

@everything411
Copy link

debian 12 only has glibc 2.36 and ubuntu 22.04 only has 2.34. maybe we should release a binary that can run on more distros.

root@bitnp-speed:~/librespeed-rs# ./librespeed-rs
./librespeed-rs: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./librespeed-rs)
@SudoDios
Copy link
Collaborator

SudoDios commented Aug 21, 2024

Hi @everything411
Thank you for your report.
Yes, the answer to this problem is explained here.
Of course, I think musl distrbute will work

@everything411
Copy link
Author

ci release like https://github.com/spencerwooo/bitsrun-rs/blob/main/.github/workflows/release.yml seems simpler than manual builds. and github provide ubuntu 20.04, 22.04 and 24.04. with that we can build a binary that linked to lower version glibc

@SudoDios
Copy link
Collaborator

So far I have not used github actions for rust.
But it's a good idea

@SudoDios
Copy link
Collaborator

@everything411
We will probably proceed with this method in the next release

@everything411
Copy link
Author

thanks

@SudoDios
Copy link
Collaborator

Fix on v1.2.1

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