当前位置:网站首页>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-06 17:16:00 【讓丄帝愛伱】
# mysql安装路径/bin
cd /app/mysql8.0/bin/
# 查看依赖库文件
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 # 缺少该库文件
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)
# 查看本地Linux是否存在 libtinfo.so.5
locate libtinfo.so.5
# sudo mv libtinfo.so.5 /usr/lib64/libtinfo.so.5
# 建立软连接
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
边栏推荐
- Build your own website (17)
- 迈动互联中标北京人寿保险,助推客户提升品牌价值
- 代码克隆的优缺点
- 【JVM调优实战100例】05——方法区调优实战(下)
- Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
- 城联优品入股浩柏国际进军国际资本市场,已完成第一步
- [batch dos-cmd command - summary and summary] - string search, search, and filter commands (find, findstr), and the difference and discrimination between find and findstr
- How to judge whether an element in an array contains all attribute values of an object
- Quaternion attitude calculation of madgwick
- Memory optimization of Amazon memorydb for redis and Amazon elasticache for redis
猜你喜欢
alexnet实验偶遇:loss nan, train acc 0.100, test acc 0.100情况
Stm32f407 ------- SPI communication
【批处理DOS-CMD命令-汇总和小结】-字符串搜索、查找、筛选命令(find、findstr),Find和findstr的区别和辨析
Installation and testing of pyflink
equals()与hashCode()
Attention SLAM:一种从人类注意中学习的视觉单目SLAM
深入探索编译插桩技术(四、ASM 探秘)
Build your own website (17)
C9高校,博士生一作发Nature!
深度学习之环境配置 jupyter notebook
随机推荐
Article management system based on SSM framework
Telerik UI 2022 R2 SP1 Retail-Not Crack
【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
一行代码实现地址信息解析
深度学习简史(一)
View remote test data and records anytime, anywhere -- ipehub2 and ipemotion app
[牛客] [NOIP2015]跳石头
Stm32f407 ------- DAC digital to analog conversion
Advanced learning of MySQL -- basics -- multi table query -- external connection
AI super clear repair resurfaces the light in Huang Jiaju's eyes, Lecun boss's "deep learning" course survival report, beautiful paintings only need one line of code, AI's latest paper | showmeai info
接口(接口相关含义,区别抽象类,接口回调)
build. How to configure the dependent version number in the gradle file
Fastdfs data migration operation record
Chapter 5 DML data operation
What is time
mongodb客户端操作(MongoRepository)
「精致店主理人」青年创业孵化营·首期顺德场圆满结束!
Use mujoco to simulate Cassie robot
Advanced learning of MySQL -- basics -- multi table query -- self join
Building a dream in the digital era, the Xi'an station of the city chain science and Technology Strategy Summit ended smoothly