This happened to me as well when using vendored dependencies. Is this your 
case? If so move the dependencies to GOPATH

On Thursday, October 19, 2017 at 5:37:53 PM UTC+3, voidlogic wrote:
>
> Hey Everyone,
>
> Does anyone know how to debug "*plugin.Open: plugin was built with a 
> different version of package*"?
>
>
> I have a 'normal' binary and a plugin built on two different machines. 
> Both machines have the same version of go, and the same commit revision of 
> the repo with the code that is shared by the plugin and the host process 
> (the interfaces they use to communicate).
>
> But, I still get: *plugin.Open: plugin was built with a different version 
> of package MYSHAREDPKG*
>
> Has anyone encountered this before?
>
>
> At first I was getting this for the errors package, and then I realized I 
> was using Go 1.8.3 and 1.9 and have since ensure go 1.8.3 is being used for 
> both.
>
> I wish I could find out more about what plugin thinks is different...
>
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to