当前位置:网站首页>mysql: error while loading shared libraries: libtinfo. so. 5: cannot open shared object file: No such

mysql: error while loading shared libraries: libtinfo. so. 5: cannot open shared object file: No such

2022-07-07 01:04:00 Let God love you

# mysql The installation path /bin
cd /app/mysql8.0/bin/
#  View dependent library files 
ldd mysql
linux-vdso.so.1 (0x00007ffd0fbd8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f153bf86000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f153bf80000)
libcrypto.so.1.1 => /app/mysql-8.0.28/bin/./../lib/private/libcrypto.so.1.1 (0x00007f153bb23000)
libssl.so.1.1 => /app/mysql-8.0.28/bin/./../lib/private/libssl.so.1.1 (0x00007f153b893000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f153b877000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f153b86d000)
libtinfo.so.5 => not found  #  The library file is missing 
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f153b689000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f153b53a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f153b51f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f153b32d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f153bfc3000)
#  View local Linux Whether there is  libtinfo.so.5
locate libtinfo.so.5 
# sudo mv libtinfo.so.5 /usr/lib64/libtinfo.so.5 

#  Establish a soft connection 
sudo ln /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2  /usr/lib/libtinfo.so.5
cd /usr/lib/
sudo chmod 777 libtinfo.so.5
原网站

版权声明
本文为[Let God love you]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061716200103.html