Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
$ go version
go version go1.12.5 linux/amd64
$ go env
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build948496286=/tmp/go-build -gno-record-gcc-switches"
First I load an .so built with go1.12，while error occur，I load another .so built with go1.12.5，still got error：plugin was built with a different version of package errors。
If I only load the .so which built with go1.12.5, It works correctly.
If load an .so built with different verison of go，while error occur，I load another .so built with the correct version of go，no error should occur，It should work correctly。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
I guess that if loading the plugin fails, we could call dlclose. Seems low priority but I'd be willing to review a CL.
No branches or pull requests