On Thu, 23 Apr 2015 19:53:55 +0000 jchase jchase@riseup.net wrote:
Hello, When I run
$ go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy $ sudo cp $GOPATH/bin/obfs4proxy /usr/local/bin
on a laptop running linuxmint/ubuntu it produces a nice binary executable. Unfortunately it doesn't work to copy it to the Pi2, because it's not an ARM binary. When I run the same script on the Pi2 I get the following error messages:
go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy # git.torproject.org/pluggable-transports/obfs4.git/common/ntor /usr/lib/go/src/pkg/git.torproject.org/pluggable-transports/obfs4.git/common/ntor/ntor.go:272: undefined: sha256.Sum256
[snip]
Any idea how I can get it cleanly on a Pi2?
This is covered in the README.md:
- Go 1.2.0 or later. Prior versions of Go (Eg: 1.0.2) are missing certain important parts of the runtime library like a SHA256 implementation.
Go 1.2 was released on December 1, 2013, so I'm not particularly inclined to support older versions, especially since it means re-implementing parts of the standard runtime library.
Regards,