'stdlib.h' file not found under macOS Catalina 10.15.4 #39232
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
xcode-select --install
go run main.go
What did you expect to see?
Hello world !
What did you see instead?
runtime/cgo
_cgo_export.c:3:10: fatal error: 'stdlib.h' file not found
I had installed the Command Line Tools by $xcode-select --install
The text was updated successfully, but these errors were encountered: