(
GOVER=$(go env GOVERSION | tr -d 'go' | awk -F. '{print $1"."$2}')
ln -s /usr/lib64/go/${GOVER} /usr/lib/go
ln -s /usr/lib64/go/${GOVER}/bin /usr/lib/go/bin
ln -s /usr/lib64/go/${GOVER}/con /usr/lib/go/contrib
ln -s /usr/lib64/go/${GOVER}/go.env /usr/lib/go/go.env
ln -s /usr/lib64/go/${GOVER}/lib /usr/lib/go/lib
ln -s /usr/lib64/go/${GOVER}/mis /usr/lib/go/misc
ln -s /usr/lib64/go/${GOVER}/pkg /usr/lib/go/pkg
ln -s /usr/lib64/go/${GOVER}/src /usr/lib/go/src
)
Last active
October 30, 2023 15:05
-
-
Save jidckii/09a095ed5802ef71577c73cac26d57b3 to your computer and use it in GitHub Desktop.
go tool: no such tool “compile” - resolve opensuse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment