On my Fedora workstation, I'm getting this error:
!!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared object file: No such file or directory !!!
But on the server (CentOS Linux) it works fine.
To get around this, I need to say this in my uwsgi.ini file
plugins-dir = /usr/lib64/uwsgi/
plugins = python3
But on the server, I can just do this:
plugins = python3
On my workstation, I did uninstall/reinstall uwsgi using dnf. I do have the python plugin installed in the /usr/lib64/uwsgi folder. It came from dnf install uwsgi-plugin-python3
I'm confused.
It seems the hint is in the error message:
It looks for the plugin in the current directory
./python3_plugin.soand doesn't look in the default directory/usr/lib64/uwsgi/unless told to do so explicitly inuwsgi.ini. Typically Fedora and centOS, although both RedHat variants, will be different versions. Fedora will contain more 'leading-edge' features than RedHat. CentOS is an open source variant of RedHat. Expect Fedora.version > CentOS.version. Somewhere between the 2 versions, the default forplugins-dirmust have disappeared.