uwsgi: error while loading shared libraries: libssl.so.1.0.0:cannot open shared object file: no such file or directory

created at 08-18-2021 views: 85

solution

1. View missing files and copy from anaconda

Copy libssl.so.1.0.0 from the Anaconda installation directory lib to /lib64 (32-bit linux to /lib), check which ones are missing and which ones are missing and which ones to copy

ln -s /your/path/anaconda3/lib/libssl.so.1.0.0 /lib64/libssl.so.1.0.0

3. Add environment variables

conda install libgcc
cd /etc
vi profile

Add the following words to the end of the profile file (use this method with caution)

export LD_LIBRARY_PATH=/your/path/anaconda3/lib:$LD_LIBRARY_P
created at:08-18-2021
edited at: 08-18-2021: