-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
user: Current not implemented on linux/amd64 #14625
Labels
Comments
|
Or you could download the linux prebuilt binary, extract the
pkg/linux_amd64 directory and put it under your GOROOT/ pkg. Then you don't
need to use a VM or setup linux cross compiler just to compile a pure Go
program that happens to use net or os/user packages that require cgo.
Please ask further questions on golang-nuts or see
https://golang.org/wiki/Questions
|
During the Go 1.7 dev cycle we've updated that error text to tell you that it's because you built a pure Go binary (usually because cross-compiled) and Maybe we should fix this, though. I've filed #14626 |
Thank you all. I hope in the future it can be used without cgo. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello
I'm currently using Go 1.6 and crosscompiling
caddy-hugo
on Travis usinggox
. When trying to execute the executable on Linux, I get the erroruser: Current not implemented on linux/amd64
.I tested the Windows executable and it works well.
What should I do?
Thanks,
The text was updated successfully, but these errors were encountered: