91名师指路-头部
91名师指路

OpenCloudOS 8.6上安装mysql 8.0.34遇到的问题

由于某些原因,现在不支持支付宝支付,如需要购买源码请加博主微信进行购买,微信号:13248254750

错误一:mysql: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

解决方法:

1)下载compat-openssl10-1.0.2o-3.el8.x86_64.rpm,下载地址:https://mirrors.aliyun.com/centos/8/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-3.el8.x86_64.rpm


2)执行命令

rpm -ivh compat-openssl10-1.0.2o-3.el8.x86_64.rpm


错误二:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

解决方法:

1)找到libncurses所在的目录

find / -name 'libncurses*'


2)复制libncurses.so.6将其更改为libncurses.so.5

cp /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5


错误三:mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

解决方法:

1)找到libtinfo所在的目录

find / -name 'libtinfo*'


2)复制libtinfo.so.6将其更改为libtinfo.so.5

cp /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5






2023-10-03 21:37:12     阅读(1113)

名师出品,必属精品    https://www.91mszl.com

联系博主    
用户登录遮罩层
x

账号登录

91名师指路-底部