Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amd64 does not works pre compiled? #684

Closed
stivyw opened this issue Apr 14, 2024 · 3 comments · Fixed by #705
Closed

amd64 does not works pre compiled? #684

stivyw opened this issue Apr 14, 2024 · 3 comments · Fixed by #705

Comments

@stivyw
Copy link

stivyw commented Apr 14, 2024

# wget https://github.com/adnanh/webhook/releases/download/2.8.1/webhook-linux-amd64.tar.gz
saving to 'webhook-linux-amd64.tar.gz'
webhook-linux-amd64. 100% 
'webhook-linux-amd64.tar.gz' saved
# tar -xvf webhook-linux-amd64.tar.gz
webhook-linux-amd64/
webhook-linux-amd64/webhook
# mv webhook-linux-amd64/webhook /usr/local/bin/
# chmod +x /usr/local/bin/webhook 
# webhook 
sh: webhook: not found
# arch
x86_64
@adnanh
Copy link
Owner

adnanh commented Apr 14, 2024

Try running with ./webhook

@pecataToshev
Copy link

I had the same problem. I was using an alpine linux 3.19 and had the same output. Rebuilding the binary myself solved the issue.

@ianroberts
Copy link
Contributor

The 2.8.1 linux-amd64 binary release is dynamically linked against glibc, so does not work on Alpine (with its musl libc). The newly-released 2.8.2 version binary release is statically linked so should be fine on Alpine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants