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
Read More:
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- [Solved] error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such…
- error while loading shared libraries: libz.so.1 [How to Solve]
- error while loading shared libraries: libmetis.so [How to Solve]
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] error while loading shared libraries: libmpc.so.3: cannot open shared object file
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- [Solved] error while loading shared libraries: libmysql.so.16
- Linux Execution Error “service mysqld start“error while loading shared libraries: libaio.so.1“
- [Solved] /usr/local/libexec/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
- Centos7.2 Install vscode Error: error while loading shared libraries: libxkbcommon.so.0: cannot open shared pro
- Error while loading shared libraries [How to Solve]
- [Solved] Ubuntu Execute uci Error: uci: error while loading shared libraries: lib
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- error while loading shared libraries [How to Solve]
- [Solved] Error reported using telnet command in Centos7: telnet: error while loading shared libraries: libtinfo.so.6