Closed GoogleCodeExporter closed 9 years ago
Did you install Go from a binary distribution or from source? If the latter,
did you disable cgo? Under OS X you need to compile Go with cgo (the default)
to access the system root certificates.
Original comment by a...@golang.org
on 31 Jul 2013 at 6:08
I installed from a package named go1.1.darwin-amd64.pkg, which presumably is a
binary distribution. So presumably getting the tour won't work unless I build
from source? I'll have to research what "cgo" is.
Original comment by mojo...@gmail.com
on 31 Jul 2013 at 3:44
No, if you installed the binary distribution then the tour should just work.
Let me think.
Original comment by a...@golang.org
on 31 Jul 2013 at 11:52
Now I recall that I built it from source so I could cross-compile Linux. So
sorry! So I need to do that again with CGO somehow enabled? Whatever that is?
Original comment by jonem...@apps.disney.com
on 8 Aug 2013 at 7:15
Are you the same person as the original reporter? If so, marking as invalid
("retracted").
CGO is a mechanism for Go programs to talk to C code. It is used by the
standard library to do various system-specific things, including fetching the
SSL root certificates.
To recompile with CGO enabled, run all.bash from the src directory without any
GO* environment variables set.
Original comment by a...@golang.org
on 12 Aug 2013 at 3:33
Original issue reported on code.google.com by
mojo...@gmail.com
on 30 Jul 2013 at 8:28