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

error when installing go #56

Closed
CR4ZYHUNT opened this issue Dec 20, 2021 · 1 comment
Closed

error when installing go #56

CR4ZYHUNT opened this issue Dec 20, 2021 · 1 comment

Comments

@CR4ZYHUNT
Copy link

when i try to install it with go build i got this error

command-line-arguments

/usr/bin/ld: /root/.cache/go-build/45/45e7b436531a3ff0bbfde65724b3c47cf223bf26529f52a761b9d83143178b3c-d(go.o): in function github_0com_1modern_x2dgo_1reflect2.UnsafeSliceType.UnsafeMakeSlice': /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_slice.go:78: undefined reference to reflect.unsafe_NewArray'
/usr/bin/ld: /root/.cache/go-build/45/45e7b436531a3ff0bbfde65724b3c47cf223bf26529f52a761b9d83143178b3c-d(go.o): in function github_0com_1modern_x2dgo_1reflect2.unsafeType.UnsafeNew': /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: undefined reference to reflect.unsafe_New'
/usr/bin/ld: /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: undefined reference to reflect.unsafe_New' /usr/bin/ld: /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: undefined reference to reflect.unsafe_New'
/usr/bin/ld: /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: undefined reference to reflect.unsafe_New' /usr/bin/ld: /root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: undefined reference to reflect.unsafe_New'
/usr/bin/ld: /root/.cache/go-build/45/45e7b436531a3ff0bbfde65724b3c47cf223bf26529f52a761b9d83143178b3c-d(go.o):/root/go/pkg/mod/github.com/modern-go/reflect2@v1.0.2/unsafe_type.go:48: more undefined references to `reflect.unsafe_New' follow
collect2: error: ld returned 1 exit status

@lc
Copy link
Owner

lc commented Dec 29, 2021

go install github.com/lc/gau/v2/cmd/gau@latest works fine for me. Check your go version and see if you're up to date

@lc lc closed this as completed Dec 29, 2021
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

No branches or pull requests

2 participants