我正在尝试在64位CentOS 5.3(基于RedHat 4.1.2)主机上运行编译的32位二进制文件.二进制抱怨无法找到lib
mysqlclient.so.15.这样的文件存在于服务器上,但它是64位,因此不好.
我可以在主机上安装32位MySQL客户端库吗?优选地以官方方式(即,通过存储库).如果没有,那么一种hackish方式呢?
此外,这是一个适合这样一个问题的地方吗?
编辑:这是an article,确认您不能在一个过程中混合和匹配位数.但其配方不适用于CentOS.
维基百科指出,CentOS派生的RHEL能够在64位上运行完整的32位用户区……系统上已经有一些32位库 – libc等.不是MysqL.
我可以运行其他没有链接到libMysqLclient的32位二进制文件.
编辑:yum搜索MysqL说如下:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.symnds.com
* extras: mirror.symnds.com
* updates: mirror.wiredtree.com
addons | 1.9 kB 00:00
base | 1.1 kB 00:00
extras | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
================================ Matched: MysqL ================================
mod_auth_MysqL.x86_64 : Basic authentication for the Apache web server using a
: MysqL database.
qt-MysqL.x86_64 : MysqL drivers for Qt's sql classes.
MysqL-bench.x86_64 : MysqL - Benchmarks and test system
MysqL-client.x86_64 : MysqL - Client
MysqL-devel.x86_64 : MysqL - Development header files and libraries
MysqL-python.x86_64 : An interface to MysqL
MysqL-server.x86_64 : MysqL: a very fast and reliable sql database server
MysqL-shared.x86_64 : MysqL - Shared libraries
apr-util-MysqL.x86_64 : APR utility library MysqL DBD driver
bytefx-data-MysqL.x86_64 : MysqL database connectivity for Mono
freeradius-MysqL.x86_64 : MysqL bindings for freeradius
freeradius2-MysqL.x86_64 : MysqL support for freeradius
libdbi-dbd-MysqL.x86_64 : MysqL plugin for libdbi
pdns-backend-MysqL.x86_64 : MysqL backend for pdns
pure-ftpd.x86_64 : Lightweight,fast and secure FTP server
qt4-MysqL.x86_64 : MysqL drivers for Qt's sql classes
rsyslog.x86_64 : Enhanced system logging and kernel message trapping daemon
rsyslog-MysqL.x86_64 : MysqL support for rsyslog
unixODBC.i386 : A complete ODBC driver manager for Linux
unixODBC.x86_64 : A complete ODBC driver manager for Linux
unixODBC64.x86_64 : A complete ODBC driver manager for Linux