-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
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? Sign in to your account
plugin: using stdlib package plugin from within non-main package doesn't work as expected #18120
Labels
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.
|
Closing as this appears fixed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: