I was trying to build a go binary for centOS in a docker container, It's giving the following error:
# command-line-arguments
github.com/ugorji/go/codec.rvSetDirect: relocation target reflect.typedmemclr not defined
github.com/ugorji/go/codec.rvSetDirectZero: relocation target reflect.typedmemclr not defined
I tried go build
with -x
as well and don't see anything related to broken installation, still the build is unsuccessful with the above errors.