seqeralabs / wave-cli

Command line tool for Wave containers provisioning service
https://seqera.io/wave
Apache License 2.0
13 stars 3 forks source link

Runtime dependency of `glibc` on linux for wave-cli binary #41

Closed abhi18av closed 1 year ago

abhi18av commented 1 year ago

Hi team 👋

I'm trying to use the linux version of the wave-cli on a server and bumped across a GLIBC dependency issue.

Error message upon invoking wave

ubuntu@lung-virome ~/bin> ./wave --help                                                                                                                            (base)
./wave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./wave)
./wave: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./wave)

Troubleshooting

To try and remedy this, I did sudo apt update and sudo apt install libc6 which ends up installing a different version 2.31 as per the upstream repositories of the OS (Ubuntu 20.04.5 TS )

Preconfiguring packages ...
(Reading database ... 195919 files and directories currently installed.)
Preparing to unpack .../libc6-dbg_2.31-0ubuntu9.12_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.12) over (2.31-0ubuntu9.9) ...
Preparing to unpack .../libc6-dev_2.31-0ubuntu9.12_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.12) over (2.31-0ubuntu9.9) ...

Suggestions

To facilitate the usage on linux hosts, it'd be great if the CLI could be distributed

  1. Either as a jar as well (similar to tower-cli)
  2. Or a statically linked binary
abhi18av commented 1 year ago

Ah, just realized that both of the suggestions are already in progress or tracked

GLIBC => https://github.com/seqeralabs/wave-cli/issues/29

JAR => https://github.com/seqeralabs/wave-cli/pull/36

Closing this issue in favor of those.