Deploy Django service under Ubuntu and report errors using uwsgi
uwsgi --http :8001 --wsgi-file test.py
Error Messages: uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
Solution:
sudo apt-get install libpcre3 libpcre3-dev # Install the required packages
find/-name libpcre.so.3 # Find libpcre.so.3 (usually in the root directory /lib/x86_64-linux-gnu)
Find /lib/x86_64-linux-gnu/libpcre.so.3
sudo ln -s /lib/x86_64-linux-gnu/libpcre.so.3 /usr/lib/libpcre.so.1 # Just make a soft link