glaredb icon indicating copy to clipboard operation
glaredb copied to clipboard

Can't use glaredb on alpine Linux

Open eitsupi opened this issue 2 years ago • 1 comments

I saw:

$ curl https://glaredb.com/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1055  100  1055    0     0   1940      0 --:--:-- --:--:-- --:--:--  1942

Downloading https://github.com/GlareDB/glaredb/releases/latest/download/glaredb-x86_64-unknown-linux-gnu.zip into /tmp/tmp.gBNMkM and extracting to /home/curl_user/glaredb

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 50.5M  100 50.5M    0     0  15.6M      0  0:00:03  0:00:03 --:--:-- 23.0M
Archive:  /tmp/tmp.gBNMkM
  inflating: glaredb

Cleaning up temporary file /tmp/tmp.gBNMkM

Successfully downloaded the GlareDB binary, you can run it as:
    ./glaredb
$ ls
glaredb
$ ./glaredb
sh: ./glaredb: not found

Perhaps changing the target of the binary release to musl instead of gnu would increase portability on Linux?

https://github.com/GlareDB/glaredb/blob/f1f5a403cbc0861a5b5c94d90e36487b3bf865b7/.github/workflows/release.yaml#L19-L20

eitsupi avatar Oct 13 '23 11:10 eitsupi

Will look into this.

scsmithr avatar Oct 13 '23 12:10 scsmithr