obclient安装失败

【产品名称】

obclient

【产品版本】

2.0.0-2

【问题描述】

[root@test2 ~]# rpm -ivh obclient-2.0.0-2.el7.x86_64.rpm

warning: obclient-2.0.0-2.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e9b4a7aa: NOKEY

error: Failed dependencies:

libobclient >= 2.0.0 is needed by obclient-2.0.0-2.el7.x86_64

这个报错怎么解决呢

根据提示需要安装一下obclient的依赖库libobclient


1、找一台可以联网的机器

yum install -y yum-utils

yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo

yum install --downloadonly obclient --downloaddir=/opt/ob_rpm

标红的命令会自动下载obclient和对应的libobclient对应的rpm包。


2、或者在社区官网的软件下载中心有libobclient,注意“加载更多”。

1 个赞

好的,感谢大佬,我试试

粗心了,没看到有加载更多,我说之前找不到。

可以了,赞一个。

依赖包缺失