goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.55k stars 473 forks source link

```goss``` #709

Closed 62f closed 2 years ago

62f commented 3 years ago

goss -bash: /usr/local/bin/goss: cannot execute binary file: Exec format error

ldd /usr/local/bin/goss /lib/ld-musl-i386.so.1: /usr/local/bin/goss: Not a valid dynamic program

Originally posted by @62f in https://github.com/emkey1/ish-AOK/issues/31

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

62f commented 2 years ago

Well I was looking for the source code to build my own binary as all goss builds I am able to locate are unusable.

obourdon commented 2 years ago

@62f which linux distribution are you trying to launch the binary release on ? On my side, I am able to generate my own executable using the following sequence:

# Clone original repo
git clone https://github.com/aelsabbahy/goss && cd goss
# Use gvm to use proper Go version
gvm use go1.13.15
# Get all required Go packages
go get -u
# Cleanup
rm -f release/*
# Rebuild
make build TRAVIS_TAG=v0.3.16-$(git rev-parse --short HEAD)

HTH

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.