to make sure mysql is installed, try

yum install mysql-server
yum install mysql-devel


Then add the following directive parameter to the ./configure command

--with-mysql-dir=/usr/lib64/mysql/

verify the path /usr/lib64/mysql/ according to your box configuration



Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak <http://www.colorle.com>



On Sat, Feb 19, 2011 at 6:52 PM, ha...@aeon.pk <ha...@aeon.pk> wrote:

> Hi,
>
> Trying to install kannel 1.5.0 on Centos 5.2, getting following error:
>
> [root@db] # ./configure --with-defaults=debug --enable-start-stop-daemon
> --with-mysql
> .
> .
> .
> .
> Configuring DB support ...
> checking whether to compile with MySQL support... searching
> checking for mysql_config... /usr/local/bin/mysql_config
> checking mysql version... 5.1.32
> checking mysql reentrant libs... -rdynamic -L/usr/local/lib -lmysqlclient_r
> -lz -lpthread -lcrypt -lnsl -lm -lpthread
> checking for mysql_init in -lmysqlclient_r... no
> checking mysql libs... -rdynamic -L/usr/local/lib -lmysqlclient -lz -lcrypt
> -lnsl -lm
> checking for mysql_init in -lmysqlclient... no
> configure: error: Unable to find MySQL client libraries
>
> I went through old forum emails, asking for several mysql-devel packages. I
> installed a lot of them, still its not working. Following are installed:
>
> mysql-devel-5.0.77-4.el5_5.4
> mysql-5.0.77-4.el5_5.4
> libdbi-dbd-mysql-0.8.1a-1.2.2
> php-pear-MDB2-Driver-mysql-1.4.1-3.el5.centos
> mysql-server-5.0.77-4.el5_5.4
> mysql-connector-odbc-3.51.26r1127-1.el5
> php-mysql-5.1.6-27.el5_5.3
>
> Any help would be much appreciated.
>
> Regards,
> Hamza
>

Reply via email to