I've installed uWSGI using pip and start it up with a xml to load my application. The xml config contains "python". On my new server it leads to an error:
open("./python_plugin.so"): No such file or directory [core/utils.c line 3321]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!!
I can find the .c and the .o versions:
sudo find / -name 'python_plugin.c'
/srv/www/li/venv/build/uwsgi/build/uwsgi/plugins/python/python_plugin.c
/srv/www/li/venv/build/uwsgi/plugins/python/python_plugin.c
sudo find / -name 'python_plugin.o'
/srv/www/li/venv/build/uwsgi/build/uwsgi/plugins/python/python_plugin.o
/srv/www/li/venv/build/uwsgi/plugins/python/python_plugin.o
sudo find / -name 'python_plugin.so'
But no .so found. My previous system had a uwsgi install through apt-get, but that's really old (and i'm quite sure it uses the pip installed uwsgi normally, but maybe not for shared objects then?)
Some background info:
- Ubuntu 12.0.4 LTS
- Python 2.7 (virtualenv)
- I've installed uWSGI in my venv, using the normal "pip install uwsgi" (no sudo)
So i'm a tad clueless :( I can't be the only person in the world to have this, right? Should I compile the .so objects myself? (if so, how?) Or is there another great solution?
Thank you very much for any help/insights you might have!