Closed mejinke closed 11 years ago
you SHOULD use CGO_ENABLED=1 go get github.com/andelf/go-curl
sh-3.2# CGO_ENABLED=1 go get github.com/andelf/go-curl
clang: warning: argument unused during compilation: '-pthread'
clang: error: no such file or directory: 'libgcc.a'
try update your go install. https://github.com/mxcl/homebrew/issues/17913 https://github.com/mxcl/homebrew/pull/19782 It's not a go-curl bug.
sh-3.2# CGO_ENABLED=0 go get github.com/andelf/go-curl
github.com/andelf/go-curl
../../../../github.com/andelf/go-curl/c-callback.c:2 6c: No such file or directory: stdio.h