Skip to content

missing LC_UUID load command #526

@peterblockman

Description

@peterblockman

I'm trying to install Go 1.18 using gvm on macOS (M1, Tahoe 26.1), but compilation fails with the following error:

gvm install go1.18     
Downloading Go source...
Installing go1.18...
 * Compiling...
ERROR: Failed to compile. Check the logs at /Users/user1/.gvm/logs/go-go1.18-compile.log
ERROR: Failed to use installed version


go-go1.18-compile.log file:
Building Go cmd/dist using /opt/homebrew/Cellar/go/1.24.3/libexec. (go1.24.3 darwin/arm64)
Building Go toolchain1 using /opt/homebrew/Cellar/go/1.24.3/libexec.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for darwin/arm64.
dyld[85326]: missing LC_UUID load command in /Users/user1/.gvm/gos/go1.18/bin/go
dyld[85326]: missing LC_UUID load command

go tool dist: FAILED: /Users/user1/.gvm/gos/go1.18/bin/go list -gcflags=all= -ldflags=all= -f={{if .Stale}}	STALE {{.ImportPath}}: {{.StaleReason}}{{end}} std cmd: signal: abort trap
gvm version       
Go Version Manager v1.0.22 installed at /Users/user1/.gvm

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions