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

[Bug]: GLIBC Version Compatibility Issue: Avalanche CLI Fails to Run Due to Missing GLIBC_2.32, GLIBC_2.33, and GLIBC_2.34 on Linux #2327

Open
sardenasrihari opened this issue Nov 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sardenasrihari
Copy link

Describe the bug

The Avalanche CLI fails to run due to missing GLIBC versions. After installation, running any avalanche command returns an error indicating that required GLIBC versions (GLIBC_2.32, GLIBC_2.33, GLIBC_2.34) are not found on my system.

To Reproduce

Run the following command to install the Avalanche CLI:

curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-cli/main/scripts/install.sh | sh -s

After installation, update the PATH variable:

export PATH=~/bin:$PATH
Run avalanche --help or avalanche --version to verify the installation.

Expected behavior
I expected the avalanche command to display the help or version information without errors, indicating a successful installation and working environment.

Screenshots
Screenshot from 2024-11-09 13-58-13

Logs
Below are the error logs displayed when running avalanche --help or avalanche --version:

avalanche: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by avalanche) avalanche: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by avalanche)
avalanche: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by avalanche)

Operating System
OS: Linux (Ubuntu)
Device: HP 250 G8 Notebook PC

Additional context

It appears that the Avalanche CLI requires GLIBC versions that are not installed on my system, which could suggest a compatibility issue or the need for an alternative installation method. Possible workarounds like upgrading GLIBC directly could be risky for my system’s stability. I'd appreciate guidance on whether a Dockerized solution, static binary, or alternative approach might be available.

@sardenasrihari sardenasrihari added the bug Something isn't working label Nov 9, 2024
@esrasiler
Copy link

Hi, I am experiencing the same issue as described in this bug report regarding the missing GLIBC versions when trying to run the Avalanche CLI. I followed the steps outlined by @sardenasrihari and encountered the same errors.

System Information:

  • OS: Ubuntu 20.04 LTS

  • GLIBC Version: 2.31 (currently installed)

Additional Context:
I am unable to upgrade my Ubuntu version at the moment, and I would prefer not to risk system stability by upgrading GLIBC alone. Any suggestions or guidance on alternative installation methods or potential workarounds would be greatly appreciated.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

2 participants