(安装好以后,在 /usr/include/mysql/ 目录中存放有libmysqlclient的头文件mysql.h,在 /usr/lib/mysql/ 目录中存放有mysql的库文件,但只有.a结尾的(即静态库)库文件(包括libmysqlclient.a),没有.so(共享库)文件。) 键入以下命令安装: #rpm -ivh MySQL-client-5.0.22-0.i386.rpm #rpm -ivh MySQL-devel-5....
Status:Can't repeatImpact on me: None Category:MySQL Server: C API (client library)Severity:S3 (Non-critical) Version:8.0.32-1OS:Red Hat (8) Assigned to:CPU Architecture:ARM [21 Jul 2023 16:55] David Ducos Description:After installing mysql-devel, /usr/lib64/mysql/libmysqlclient.a was...
The library from MySQL-devel-community-5.0.41-0.rhel4.x86_64.rpm does indeed contain those zlib object files (checked with "ar t libfile"), a self compiled package (using BUILD/compile-amd64-debug-max) doesn't though looks like a problem with the RPM building process?
在安装指令末尾加上 --nodeps --force ,即安装时不检查依赖关系: rpm -ivh mysql-community-devel-8.0.19-1.el7.x86_64.rpm --nodeps --force
Description:Linking a program to whatever is returned by mysql_config --libs will fail as it tries to link against libmysqlclient.so et al Deleting libmysqlclient.la and other .la files in the MySQL libraries directory solves the problem.How to repeat:Install MySQL-devel-5.1.11-0.glibc23.i386...