Linux – yum package conflict installing thesqlclient package

centoslinuxpackage-managementzabbix

I'm trying to build and install Zabbix 1.8 on my CentOS 5.2 server. This server has MySQL 5.0 installed from the standard CentoOS 5.2 repository.

./configure ... is failing because of:

configure: error: Not found mysqlclient library

When I do yum list mysqlclient* yum says there are no matching packages.

So I did a yum install mysqlclient* but get this error:

Transaction Check Error:
file /usr/lib/mysql/libmysqlclient.so.15.0.0 from install of mysqlclient15-5.0.91-1.ius.el5.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/lib/mysql/libmysqlclient_r.so.15.0.0 from install of mysqlclient15-5.0.91-1.ius.el5.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386

How do I resolve this?

Best Answer

Install the mysql-devel package.