I want to use the Go plugin facility, and if I call plugin.Open("…")
with an absolute path, this works fine. Still, the original docs give the example plugin.Open("plugin_name.so")
, thus, it should also work with the simple filename.
However, the docs fail to say what is the search path for these plugins. Do the same rules apply as for any shared library? FWIW, copying my plugin to /usr/lib
and calling ldconfig was not sufficient.