hatchet-v1-archived
hatchet-v1-archived copied to clipboard
hatchet not working on alma8
hatchet --help
hatchet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by hatchet)
hatchet: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by hatchet)
rpm -qa | grep libc
glibc-2.28-211.el8.x86_64
https://repo.almalinux.org/almalinux/8.7/BaseOS/x86_64/os/Packages/
Hey @thatsk, thanks for the report. Looks like a similar issue to https://github.com/golang/go/issues/58550.
Are you able to build the Hatchet binaries from source? Via:
go build -ldflags="-w -s -X 'main.Version=v0.1.0-alpha.1'" -a -o ./amd64/hatchet-server ./cmd/hatchet-server
go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-admin/cli.Version=v0.1.0-alpha.1''" -a -o ./amd64/hatchet-admin ./cmd/hatchet-admin
go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-cli/cli.Version=v0.1.0-alpha.1''" -a -o ./amd64/hatchet ./cmd/hatchet-cli
@abelanger5 think we have an extra '
for building hatchet-admin
and hatchet-cli
, right after the alpha.1
part. This worked on my lab server:
go build -ldflags="-w -s -X 'main.Version=v0.1.0-alpha.1'" -a -o ./amd64/hatchet-server ./cmd/hatchet-server
go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-admin/cli.Version=v0.1.0-alpha.1'" -a -o ./amd64/hatchet-admin ./cmd/hatchet-admin
go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-cli/cli.Version=v0.1.0-alpha.1'" -a -o ./amd64/hatchet ./cmd/hatchet-cli
Faced the same issue with the installer version of hatchet
, but looks the compiled versions are working fine.
any issues we have found and why do we need to use compiled version ?
Hey @thatsk, thanks for the report. Looks like a similar issue to golang/go#58550.
Are you able to build the Hatchet binaries from source? Via:
go build -ldflags="-w -s -X 'main.Version=v0.1.0-alpha.1'" -a -o ./amd64/hatchet-server ./cmd/hatchet-server go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-admin/cli.Version=v0.1.0-alpha.1''" -a -o ./amd64/hatchet-admin ./cmd/hatchet-admin go build -ldflags="-w -s -X 'github.com/hatchet-dev/hatchet/cmd/hatchet-cli/cli.Version=v0.1.0-alpha.1''" -a -o ./amd64/hatchet ./cmd/hatchet-cli
The issue seems like what's described by @abelanger5 there in the linked issue - while I do have glibc
in my lab, it wasn't being picked up. Compilation's pretty easy so I reckon one can always compile the binaries themselves after pulling in the latest changes.