jpillora / installer

One-liner for installing binaries from Github releases
https://i.jpillora.com/installer
MIT License
206 stars 52 forks source link

installed 32bits instead of 64bits #37

Open aglossa opened 1 year ago

aglossa commented 1 year ago

Hello, My first try with https://github.com/sharkdp/bat showed that installer detected the correct architecture for my test VM (linux/amd64), retrieved a artifact and put into /usr/local/bin as expected. Bash errored with /usr/local/bin/bat: No such file or directory although the file was there. A "file /usr/local/bin/bat" showed : /usr/local/bin/bat: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0c2142c993195cf49a9b711d45efbc3cf3e201e5, stripped

Installer worked for other projects but choked also on https://github.com/sharkdp/fd or https://github.com/bootandy/dust. Any idea to resolve these issues ? (I looked at the release assets of the projects and everyone is following... its own convention...)

jpillora commented 1 year ago

https://i.jpillora.com/bat

Ah yes that’s a bug, I think related to recent PRs fixing similar bugs 😅

On Wed, 1 Mar 2023 at 4:30 am aglossa @.***> wrote:

Hello, My first try with https://github.com/sharkdp/bat showed that installer detected the correct architecture for my test VM (linux/amd64), retrieved a artifact and put into /usr/local/bin as expected. Bash errored with /usr/local/bin/bat: No such file or directory although the file was there. A "file /usr/local/bin/bat" showed : /usr/local/bin/bat: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0c2142c993195cf49a9b711d45efbc3cf3e201e5, stripped

Installer worked for other projects but choked also on https://github.com/sharkdp/fd or https://github.com/bootandy/dust. Any idea to resolve these issues ? (I looked at the release assets of the projects and everyone is following... its own convention...)

— Reply to this email directly, view it on GitHub https://github.com/jpillora/installer/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X42HRRC3UA32TAY36ZDWZYYZXANCNFSM6AAAAAAVLAP2C4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>