Skip to content

foundryup fails with version 'GLIBC_2.27' not found #4794

New issue

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

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

Already on GitHub? # to your account

Closed
2 tasks done
mpeyfuss opened this issue Apr 22, 2023 · 2 comments
Closed
2 tasks done

foundryup fails with version 'GLIBC_2.27' not found #4794

mpeyfuss opened this issue Apr 22, 2023 · 2 comments
Labels
T-bug Type: bug

Comments

@mpeyfuss
Copy link

Component

Foundryup

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

No response

Operating System

Linux

Describe the bug

Amazon Linux 2 only has up to GLIBC 2.26. There are also a few other linux OS's with this problem. Is there a way to compile the binaries so I can utilize foundry? I can't even install via foundryup

Output from running foundryup

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

 ╔═╗ ╔═╗ ╦ ╦ ╔╗╔ ╔╦╗ ╦═╗ ╦ ╦         Portable and modular toolkit
 ╠╣  ║ ║ ║ ║ ║║║  ║║ ╠╦╝ ╚╦╝    for Ethereum Application Development
 ╚   ╚═╝ ╚═╝ ╝╚╝ ═╩╝ ╩╚═  ╩                 written in Rust.

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

Repo       : https://github.com/foundry-rs/
Book       : https://book.getfoundry.sh/
Chat       : https://t.me/foundry_rs/
Support    : https://t.me/foundry_support/
Contribute : https://github.com/orgs/foundry-rs/projects/2/

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

foundryup: installing foundry (version , tag )
foundryup: downloading latest forge, cast, anvil, and chisel
########################################################################################################################### 100.0%

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
foundryup: downloading manpages
########################################################################################################################### 100.0%

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/home/ec2-user/.foundry/bin/forge: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/.foundry/bin/forge)
/home/ec2-user/.foundry/bin/forge: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by /home/ec2-user/.foundry/bin/forge)
/home/ec2-user/.foundry/bin/forge: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.foundry/bin/forge)
/home/ec2-user/.foundry/bin/forge: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/.foundry/bin/forge)
foundryup: installed -
/home/ec2-user/.foundry/bin/cast: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/.foundry/bin/cast)
/home/ec2-user/.foundry/bin/cast: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by /home/ec2-user/.foundry/bin/cast)
/home/ec2-user/.foundry/bin/cast: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.foundry/bin/cast)
foundryup: installed -
/home/ec2-user/.foundry/bin/anvil: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.foundry/bin/anvil)
foundryup: installed -
/home/ec2-user/.foundry/bin/chisel: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by /home/ec2-user/.foundry/bin/chisel)
/home/ec2-user/.foundry/bin/chisel: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.foundry/bin/chisel)
foundryup: installed -
foundryup: done
@mpeyfuss mpeyfuss added the T-bug Type: bug label Apr 22, 2023
@gakonst gakonst added this to Foundry Apr 22, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Apr 22, 2023
@DaniPopes
Copy link
Member

Please see the FAQ here. The release binaries are compiled with the latest GitHub Actions Ubuntu image, which I believe is currently Ubuntu 22.04.

@mpeyfuss
Copy link
Author

Ah thanks for the info, I just ended up building from source on an EC2 and can distribute the binaries in my app.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

2 participants