Join GitHub today
cmd/link: ld: library not found for -ltest #20847
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
That's likely the problem. Let's take this discussion somewhere else (the go project does not use the issue tracker for general discussion and questions about the language, it's just for issues). See: https://github.com/golang/go/wiki/Questions. For example golang-nuts. Thanks.
I don't think there's a bug here: you just need help with understanding cgo.