(roots)[root@iZ2ze5lq5zpd6lctghc8x3Z~]# uwsgi
uwsgi: error while loading shared libraries: libicui18n.so.58: cannot open shared object file: No such file or directory
> 解决错误
查看 uwsgi所在地址,然后使用 LDD 查看缺少的包
(roots)[root@iZ2ze5lq5zpd6lctghc8x3Z~]# which uwsgi
/root/anaconda3/envs/roots/bin/uwsgi
(roots)[root@iZ2ze5lq5zpd6lctghc8x3Z~]# ldd /root/anaconda3/envs/roots/bin/uwsgi
linux-vdso.so.1=>(0x00007ffc14fc7000)
libpthread.so.0=>/lib64/libpthread.so.0(0x00007ff6b0347000)
libm.so.6=>/lib64/libm.so.6(0x00007ff6b0045000)
libdl.so.2=>/lib64/libdl.so.2(0x00007ff6afe40000)
libpcre.so.1=>/lib64/libpcre.so.1(0x00007ff6afbde000)
libxml2.so.2=>/lib64/libxml2.so.2(0x00007ff6af874000)
libz.so.1=>/lib64/libz.so.1(0x00007ff6af65d000)
liblzma.so.5=>/lib64/liblzma.so.5(0x00007ff6af437000)
libicui18n.so.58=> not found
libicuuc.so.58=> not found
libicudata.so.58=> not found
libutil.so.1=>/lib64/libutil.so.1(0x00007ff6af233000