Thanks.
On Monday, November 1, 2021 at 8:56:38 PM UTC+5:30 Brian Candler wrote:
> On Monday, 1 November 2021 at 13:44:28 UTC chauhan...@gmail.com wrote:
>
>> greeter.go calls plugin.open and it will be work only for one sub version
>> of go. If plugin and binary are made in different sub
I did not understand the use of plugin. I can't use a plugin with different
go versions even with minor version because plugin.open is failed. The only
way which I found to use plugin'functions is through LD_PRELOAD.
I created a plugin using https://github.com/vladimirvivien/go-plugin-example
If eng.so is under /usr/lib then I think it's not required to set
LD_LIBRARY_PATH. My question was how to load plugin address in go runtime
using LD_PRELOAD. I am using LD_PRELOAD because plug.open is failed. Is
there any other solution?
On Monday, November 1, 2021 at 1:33:09 PM UTC+5:30 Brian
Hi Brian,
greeter.go calls plugin.open and it will be work only for one sub version
of go. If plugin and binary are made in different sub versions of go1.15
then plugin.open will not work.
On Monday, November 1, 2021 at 6:55:02 PM UTC+5:30 Brian Candler wrote:
> > My question was how to