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

glibc error on debian #1706

Open
bestmike007 opened this issue Mar 4, 2025 · 4 comments
Open

glibc error on debian #1706

bestmike007 opened this issue Mar 4, 2025 · 4 comments
Assignees

Comments

@bestmike007
Copy link

Hey, I wonder if this is an known issue.

I'm trying to use the prebuilt clarinet binary (https://github.com/hirosystems/clarinet/releases/download/v2.15.1/clarinet-linux-x64-glibc.tar.gz) on Debian 11 and 12.

And I'm getting this error:

> clarinet -v
/root/.asdf/installs/clarinet/2.15.1/bin/clarinet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /root/.asdf/installs/clarinet/2.15.1/bin/clarinet)
/root/.asdf/installs/clarinet/2.15.1/bin/clarinet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /root/.asdf/installs/clarinet/2.15.1/bin/clarinet)
/root/.asdf/installs/clarinet/2.15.1/bin/clarinet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /root/.asdf/installs/clarinet/2.15.1/bin/clarinet)
/root/.asdf/installs/clarinet/2.15.1/bin/clarinet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /root/.asdf/installs/clarinet/2.15.1/bin/clarinet)
/root/.asdf/installs/clarinet/2.15.1/bin/clarinet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /root/.asdf/installs/clarinet/2.15.1/bin/clarinet)
@github-project-automation github-project-automation bot moved this to 🆕 New in DevTools Mar 4, 2025
@hugocaillard hugocaillard self-assigned this Mar 4, 2025
@hugocaillard
Copy link
Collaborator

Hey @bestmike007,
Thanks for opening this issue.
The fastest solution I can suggest for you is to build clarinet from source, on your OS, instead of downloading a pre-built binary.

On my end, I'll also work with the team to make sure that we build binaries that are compatible with a wider range of OSes

@bestmike007
Copy link
Author

How about using https://github.com/cross-rs/cross ?

@hugocaillard
Copy link
Collaborator

hugocaillard commented Mar 4, 2025

I'll look into that. Ideally, I'd like to avoid introducing a new tool if there's a more straigthfoward option.
We migth end up just building the binary with an older version of ubuntu such sas ubuntu-20.04 instead of using ubuntu-latest. Since older version of Clarinet didn't sufffer from such this new issue

@hugocaillard
Copy link
Collaborator

Let me know if, until then, you choose to build from source and need help for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants