foundry icon indicating copy to clipboard operation
foundry copied to clipboard

bug(`foundryup`): foundryup should install latest compatible version

Open 3esmit opened this issue 6 months ago • 3 comments

Component

Foundryup

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

  • [x] Foundry
  • [x] Foundryup

What version of Foundry are you on?

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

What version of Foundryup are you on?

foundryup: 1.1.0

What command(s) is the bug in?

foundryup

Operating System

Linux

Describe the bug

I updated foundry using foundryup, and it installed a foundry which cannot run in my system.

forge --version
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by forge)
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by forge)
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by forge)
ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.17) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

3esmit avatar May 26 '25 17:05 3esmit

@3esmit what version of ubuntu you use? 20.04 was deprecated since 1.1.0, pls see https://github.com/foundry-rs/foundry/releases/tag/v1.1.0

grandizzy avatar May 26 '25 18:05 grandizzy

I see. In that case, foundryup should check this and install a version > 1.1.0

3esmit avatar May 28 '25 01:05 3esmit

makes sense, we could at min check the os and recommend latest compatible foundry version to install

grandizzy avatar May 28 '25 04:05 grandizzy

For now marking as not planned given that our focus is always on the latest release while given users time to upgrade between major versions.

If required you can install older versions of Foundry using: foundryup -i v1.0.0 but it is highly recommend to update your OS and stay up to date.

If any of you feel strongly leave a comment and I will re-open for discussion

zerosnacks avatar Aug 18 '25 13:08 zerosnacks