google-cloud-functions-go icon indicating copy to clipboard operation
google-cloud-functions-go copied to clipboard

plugin was built with a different version of package errors

Open irom77 opened this issue 7 years ago • 1 comments

I am getting below , using go1.9

$cat examples/topic/event.json |   cloud-functions-go-shim -entry-point F -event-type topic -plugin-path functions.so 
2017/09/09 10:37:27 unable to load the Go plugin: plugin.Open: plugin was built with a different version of package errors
$ 

irom77 avatar Sep 09 '17 14:09 irom77

You need to compile the shim using the same go runtime to to compile the plugin. I need to document that, then make that step unnecessary.

kelseyhightower avatar Oct 20 '17 16:10 kelseyhightower