在centos上同时安装32位和64位mysql-connector-odbc

时间:2019-05-14 22:28:09

标签: centos7 mysql-connector

是否可以同时安装32位和64位mysql-connector-odbc?我收到一个奇怪的yum错误,我不知道该如何解决。我都需要,因为我们正在过渡到64位应用程序。显然,如果32位mysql-connector-odbc可以与64位应用程序一起使用,那我该怎么办。

我的百胜餐饮,出现错误:

+ sudo yum install mysql-connector-odbc -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * epel: mirror.cogentco.com
 * extras: mirror.jaleco.com
 * updates: mirrors.advancedhosters.com
Resolving Dependencies
--> Running transaction check
---> Package mysql-connector-odbc.i686 0:8.0.16-1.el7 will be installed
--> Processing Dependency: libodbcinst.so.2 for package: mysql-connector-odbc-8.0.16-1.el7.i686
--> Processing Dependency: libodbc.so.2 for package: mysql-connector-odbc-8.0.16-1.el7.i686
---> Package mysql-connector-odbc.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: mysql-connector-odbc-8.0.16-1.el7.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: mysql-connector-odbc-8.0.16-1.el7.x86_64
--> Running transaction check
---> Package unixODBC.i686 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7 for package: unixODBC-2.3.1-11.el7.i686
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Running transaction check
---> Package libtool-ltdl.i686 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version        Repository                     Size
================================================================================
Installing:
 mysql-connector-odbc i686   8.0.16-1.el7   mysql-connectors-community-32 3.7 M
 mysql-connector-odbc x86_64 8.0.16-1.el7   mysql-connectors-community    3.7 M
Installing for dependencies:
 libtool-ltdl         i686   2.4.2-22.el7_3 base                           49 k
 unixODBC             i686   2.3.1-11.el7   base                          410 k
 unixODBC             x86_64 2.3.1-11.el7   base                          413 k

Transaction Summary
================================================================================
Install  2 Packages (+3 Dependent packages)

Total size: 8.3 M
Installed size: 42 M
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /usr/share/doc/mysql-connector-odbc-8.0.16/INFO_BIN conflicts between attempted installs of mysql-connector-odbc-8.0.16-1.el7.i686 and mysql-connector-odbc-8.0.16-1.el7.x86_64

Error Summary
-------------

我尝试查找“尝试安装的两次安装之间的冲突”错误的各种组合,但似乎没有什么能真正解决我的问题。

0 个答案:

没有答案