Just to clarify: you’ve built the plugin using the docker nakama-pluginbuilder
and are attempting to load it into a native macOS binary build of Nakama? If this is the case then it will never work, and I think this has been discussed in previous forum posts.
Shared objects will only work on the platform and architecture they’re built for. This is not something Nakama has decided, it’s a consequence of platform/architecture differences.
If you run a macOS Nakama binary, the plugin has to be built on macOS. If you run a Linux x86-64 Nakama binary, the plugin has to be built on Linux x86-64.