Thank you. On Monday, October 9, 2017 at 1:42:24 PM UTC+8, Ian Lance Taylor wrote: > > On Sun, Oct 8, 2017 at 10:30 PM, Nzlov <wfh...@gmail.com <javascript:>> > wrote: > > I want load a plugin `modles.so` in other a plugin `plugin.so` , build > > `modles.so` is ok , but build `plugin.so` has error , not defined > > `main.main`, but i have added `func main() {}` into `plugin.go`,like > demo > > You are right. There is a bug when one plugin tries to open another > plugin. I reopened your issue #22175 and tried to clarify it. > > I do not know how hard it will be to make this case work. > > Ian > > > > On Monday, October 9, 2017 at 1:16:59 PM UTC+8, Ian Lance Taylor wrote: > >> > >> On Sun, Oct 8, 2017 at 6:30 PM, Nzlov <wfh...@gmail.com> wrote: > >> > > >> > But I have added `main.main` > >> > > >> > On Sunday, October 8, 2017 at 10:15:41 PM UTC+8, Nzlov wrote: > >> >> > >> >> How to load plugin in plugin? I make a demo , but build plugin has > >> >> runtime > >> >> error... > >> >> runtime.main_main·f: relocation target main.main not defined > >> >> runtime.main_main·f: undefined: "main.main" > >> > >> Tell us exactly what you did, tell us exactly what happened, and tell > >> us what you expected to happen instead. > >> > >> Ian > > > > -- > > 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...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. >
-- 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.