plugin: using stdlib package plugin from within non-main package doesn't work as expected #18120
Milestone
Comments
What do you see if you build the binary "indirect" with -gcflags=-dynlink? |
It is still the same message.
|
Does it work with tip now? It works fine for me on both linux/amd64 and darwin/amd64.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +5d1b53a Wed Nov 30 19:46:00 2016 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Wrote a non-main package using stdlib package plugin to open a plugin.
https://github.com/erwo42/golang-plugin
Just run from within the workdir of a clone of above repo:
What did you expect to see?
Yay!
What did you see instead?
Other maybe relevant issues
#17928
#17150
The text was updated successfully, but these errors were encountered: