Problem compiling with MySql support

"Alejandro Guerrieri" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Magicom
Message-ID <033601c489b7$1bff1960$0200a8c0@legolas>
Hi,

I am having problems compiling 1.3.2 with MySQL support. The system doesn't
seem to find part of MySQL (mysql_init on libmysqlclient):

]#
./configure --enable-start-stop-daemon  --prefix=/usr --with-defaults=speed 
--disable-docs --disable-ssl --with-mysql --with-mysql-dir=/usr

loading cache ./config.cache


Configuring for Kannel gateway version 1.3.2 ...

<....>

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_config
checking mysql version... 3.23.58
checking mysql
libs...  -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm
checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries

I am using RedHat 9 and I have the proper RPM packages installed:

]# rpm -qa |grep -i mysql
perl-DBD-MySQL-2.1021-3
mysql-server-3.23.58-1.9
mysql-devel-3.23.58-1.9
mysql-3.23.58-1.9

]# locate mysql.h
/usr/include/mysql/mysql.h

]# locate libmysql
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so

Any hints?

Thank you in advance,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.