解决error: Failed dependencies:libodbc.so.2()的错误

安装zabbix时报错

[root@zabbix ~]# rpm -ivh zabbix-server-mysql-2.2.3-1.el6.x86_64.rpm zabbix-web-mysql-2.2.3-1.el6.noarch.rpm 
warning: zabbix-server-mysql-2.2.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
error: Failed dependencies:
 libodbc.so.2()(64bit) is needed by zabbix-server-mysql-2.2.3-1.el6.x86_64
 zabbix-server = 2.2.3-1.el6 is needed by zabbix-server-mysql-2.2.3-1.el6.x86_64
 zabbix-web = 2.2.3-1.el6 is needed by zabbix-web-mysql-2.2.3-1.el6.noarch

 

解决办法

[root@zabbix ~]# yum -y install unixODBC
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch            Version                  Repository     Size
================================================================================
Installing:
 unixODBC          x86_64          2.2.14-12.el6_3          RHEL          378 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 378 k
Installed size: 1.1 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : unixODBC-2.2.14-12.el6_3.x86_64                              1/1 
  Verifying  : unixODBC-2.2.14-12.el6_3.x86_64                              1/1 

Installed:
  unixODBC.x86_64 0:2.2.14-12.el6_3                                             

Complete!

 

本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.51cto.com/1145188/1407536

解决error: Failed dependencies:libodbc.so.2()的错误,布布扣,bubuko.com

解决error: Failed dependencies:libodbc.so.2()的错误

上一篇:一道笔试题--求二进制数1的个数


下一篇:Linux安装Erlang和RabbitMQ