snowman icon indicating copy to clipboard operation
snowman copied to clipboard

snowman-linux-amd64 0.4.0 binary won't run on Ubuntu 20.04

Open rybesh opened this issue 1 year ago • 3 comments

$ curl -L https://github.com/glaciers-in-archives/snowman/releases/download/0.4.0/snowman-linux-amd64 > snowman
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11.2M  100 11.2M    0     0  48.5M      0 --:--:-- --:--:-- --:--:-- 48.5M
chmod +x snowman

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

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

$ uname -a
Linux codespaces-c48400 5.15.0-1042-azure #49-Ubuntu SMP Tue Jul 11 17:28:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

The same problem does not occur with snowman 0.3.1.

rybesh avatar Aug 09 '23 19:08 rybesh

The 0.4.0 binary does run on Ubuntu 22.04.

rybesh avatar Aug 09 '23 19:08 rybesh

I'm guessing the new networking functions added in 0.4.0 and the usage of the net package could have caused a dependency on LibC, it's however, not supposed to do that by default so something is off.

Abbe98 avatar Aug 10 '23 18:08 Abbe98

The dependency on LibC is in itself is therefore a bug.

Abbe98 avatar Aug 10 '23 18:08 Abbe98