Using go plugin: plugin was built with a different version

I am trying to use the go plugin library to create an existing linrary into a so file. I keep getting this : plugin was built with a different version of package github.com/gogo/protobuf/proto .

I tried them both to have the same version of this lib:
replace github.com/gogo/protobuf => v1.3.2 in both go.sum

But, I still see this same error.

seems there se are secondary dependencies, which do not get updated. Any idea hot to get past this?