I have a quick noobie question. I'm in devops engineer and I have a developer who has a go project that I'm trying to compile.
I downloaded the go binares on my mac OS and I was able to compile his project successfully. Good.
I compiled "go" myself on an AWS Amazon OS and I was able to compile his project successfully on an AWS Amazon OS with the go binaries that I compiled. Good.
So far so good, but I figure I don't have to compile "go" unless I absolutely have to, so I tried:
"yum install golang" on an Amazon OS and tried to compile his project and this is the error that I got:
bash-4.1$ make
go install auth-api
# auth-api/dal
src/auth-api/dal/redis_token_provider.go:5: import /var/build/workspace/build-auth-api/pkg/linux_amd64/third_party/garyburd/redigo/redis.a: object is [linux amd64 go1.2 X:none] expected [linux amd64 go1.1.2 X:none]
Does this mean that the golang package that is being installed (version 1.1.2) is not compatible on this OS?
Notice the version mismatch:
object is [linux amd64 go1.2 X:none]
expected [linux amd64 go1.1.2 X:none]
Thanks for the insight. The workaround is easy enough for me to do (use the go binaries that I'm compiling), but I'm just curious about this error.
Thanks!