You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I installed go from
http://code.google.com/p/go/downloads/detail?name=go.weekly.2012-02-22.darwin-amd64.pkg&;can=2&q=
on OS X 10.6.8
Running the go command resulted in:
$ go
dyld: Symbol not found: _SecItemExport
Referenced from: /usr/local/go/bin/go
Expected in: flat namespace
Trace/BPT trap
As a quick hack I edited the following file:
/usr/local/go/src/pkg/crypto/tls/root_darwin.go
and commented out the following lines:
//#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
// if (SecItemExport) {
// err = SecItemExport(cert, kSecFormatX509Cert, kSecItemPemArmour, NULL, &data);
// if (err != noErr) {
// continue;
// }
// } else
//#endif
I then ran all.bash and after that the go command succeeds.
thanks,
mick
The text was updated successfully, but these errors were encountered:
by mjhollins:
The text was updated successfully, but these errors were encountered: