-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
GraalVMIssues tied with GraalVM native imagesIssues tied with GraalVM native imagesbugSomething isn't workingSomething isn't workinginstallationEverything related to installing the CLI itselfEverything related to installing the CLI itself
Description
Version(s)
1.8.0 and 1.8.1
Describe the bug
I'm using scala-cli on RHEL8 (8.10), and when trying to run scala-cli versions 1.8.0 or 1.8.1, I get an error related to scala-cli needing a more recent version of GLIBC than is available on my platform. scala-cli now seems to require GLIBC 2.32/2.34, but I only have 2.28 available on my system:
$ /lib64/libc.so.6
GNU C Library (GNU libc) stable release version 2.28.
...
To Reproduce
$ cs install scala-cli:1.7.1
Wrote scala-cli
$ scala-cli version
Scala CLI version: 1.7.1
Scala version (default): 3.6.4
...
$ cs install scala-cli:1.8.0
Wrote scala-cli
$ scala-cli version
/home/users/USERNAME/.local/share/coursier/bin/.scala-cli.aux: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /home/users/USERNAME/.local/share/coursier/bin/.scala-cli.aux)
/home/users/USERNAME/.local/share/coursier/bin/.scala-cli.aux: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /home/users/USERNAME/.local/share/coursier/bin/.scala-cli.aux)
$ cs install scala-cli:1.8.1
Wrote scala-cli
$ scala-cli version
<same error as above>
Expected behaviour
I would like to continue using the latest scala-cli on this system, we weren't planning on updating to RHEL9 until later this year. Looks like RHEL 9.6 ships with glibc 2.34 (source from distrowatch).
Metadata
Metadata
Assignees
Labels
GraalVMIssues tied with GraalVM native imagesIssues tied with GraalVM native imagesbugSomething isn't workingSomething isn't workinginstallationEverything related to installing the CLI itselfEverything related to installing the CLI itself