Can it build in linux? #61
Comments
See #59 - it needs CGO, with proper cross-compiler - easier to build it natively (or in Docker). |
You mean I can compile it in linux directly? And Also can build it in Docker? |
Sure. It only needs a Go version >=1.9 and a C compiler for CGO.
Kanner <notifications@github.com> ezt írta (időpont: 2018. ápr. 23., H,
12:24):
… You mean I can compile it in linux directly? And Also can build it in
Docker?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPoSuomeJIHiLYfu_AgZwXDcXoeeKN0ks5travXgaJpZM4Tfm6J>
.
|
Just leaving a note here that I just encountered the same problem. |
Also running into this problem |
What is the problem?
prints? |
Some error occurs |
Use at least Go 1.9 - preferably the current stable, 1.10.2 ! |
thank you, it's work now |
how can I install cgo? |
Now I use
gopkg.in/goracle.v2
in MacOS.I want build my project and run it in linux.Then I exec the command in the project dir in My MacOS.The command
GOOS=linux GOARCH=amd64 go build
.Some error occurs
How can I fix it?
The text was updated successfully, but these errors were encountered: