configure error on Solaris 10

David Chkhartishvili <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization MagtiCom Ltd.
Message-ID <[email protected]>
Hi List,

I'm compiling kannel cvs on solaris 10, with mysql support (4.1.10a, 64bit).
Here are system parameters:

OS: Solaris 10 (GA, 3/05)
gcc:  using preinstalled version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
mysql: ver 4.1.10a, 64bit binary
kannel: cvs

My configure string is: 

./configure --prefix=/usr/local/kannel --disable-ssl --disable-docs 
--disable-assertions --with-mysql

I'm getting following error:


Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/local/mysql/bin/mysql_config
checking mysql version... 4.1.10a
checking mysql reentrant libs...  $(/usr/local/mysql/bin/mysql_config 
--libs_r)
checking for mysql_init in -lmysqlclient_r... no
checking mysql libs...  $(/usr/local/mysql/bin/mysql_config --libs)
checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries
 -L/usr/local/mysql/lib -lmysqlclient_r -lz -lpthread -lthread -lposix4 
-lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread


Any ideas?
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.