Undefined symbols for architecture x86_64 (FetchPEMRoots)

Issue #53 new
Anton Holmquist created an issue

On OS X Yosemite 10.10.3 I get this error when running "go get bitbucket.org/liamstask/goose/cmd/goose" in the terminal:

Undefined symbols for architecture x86_64: "_SecKeychainItemExport", referenced from: _FetchPEMRoots in 000001.o "_SecTrustCopyAnchorCertificates", referenced from: _FetchPEMRoots in 000001.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) /usr/local/Cellar/go/1.4/libexec/pkg/tool/darwin_amd64/6l: running clang failed: unsuccessful exit status 0x100

Any ideas what could cause this?