libmysqlclient.so.18()(64bit) is needed by (installed) net-snmp-agent-libs-1:5.7.2-49.el7_9.2.x86_64
时间: 2023-03-30 18:00:46 浏览: 357
这是一个关于 Linux 系统中缺少 libmysqlclient.so.18()(64bit) 库的问题,需要安装该库才能使用 net-snmp-agent-libs-1:5.7.2-49.el7_9.2.x86_64。可以通过在终端中使用命令 sudo yum install mysql-libs 来安装该库。
相关问题
rpm -Uvh mysql-community-libs-8.0.33-1.el7.x86_64.rpm warning: mysql-community-libs-8.0.33-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY error: Failed dependencies: mysql-community-client-plugins = 8.0.33-1.el7 is needed by mysql-community-libs-8.0.33-1.el7.x86_64 libmysqlclient.so.18()(64bit) is needed by (installed) postfix-2:2.10.1-7.el7.x86_64 libmysqlclient.so.18(libmysqlclient_18)(64bit) is needed by (installed) postfix-2:2.10.1-7.el7.x86_64
这看起来像一个错误消息,可能是由于缺少依赖项导致的。在安装 mysql-community-libs-8.0.33-1.el7.x86_64.rpm 时,它需要 mysql-community-client-plugins = 8.0.33-1.el7 和 libmysqlclient.so.18()(64bit) 这两个依赖项。此外,已经安装的 postfix-2:2.10.1-7.el7.x86_64 需要 libmysqlclient.so.18(libmysqlclient_18)(64bit)。你需要安装这些依赖项来解决这个错误。
[dzzzapp@gxzc-dzzz-0007 ~]$ sudo rpm -Uvh mysql-community-libs-8.0.33-1.el7.x86_64.rpm warning: mysql-community-libs-8.0.33-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY error: Failed dependencies: libmysqlclient.so.18()(64bit) is needed by (installed) postfix-2:2.10.1-7.el7.x86_64 libmysqlclient.so.18(libmysqlclient_18)(64bit) is needed by (installed) postfix-2:2.10.1-7.el7.x86_64
根据你提供的信息,安装mysql-community-libs-8.0.33-1.el7.x86_64.rpm时出现了依赖问题,提示缺少libmysqlclient.so.18()(64bit)和libmysqlclient.so.18(libmysqlclient_18)(64bit)。同时,提示已安装的postfix-2:2.10.1-7.el7.x86_64也需要这些依赖。
你需要先安装缺失的依赖,可以使用以下命令安装:
```
sudo yum install mysql-community-libs-compat
```
安装完毕后,再次尝试安装mysql-community-libs-8.0.33-1.el7.x86_64.rpm即可。
阅读全文