libmysqlclient failed even with all mysql packages installed

2005-08-02 Thread Willy Mularto

Hi all,
I have install all mysql packages installed :
mysql-shared-4.1.13-2tr
mysql-4.1.13-2tr
php-mysql-5.0.4-7tr
mysql-libs-4.1.13-2tr
mysql-client-4.1.13-2tr
mysql-devel-4.1.13-2tr

And doing ./configure 

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_config
checking mysql version... 4.1.13
checking mysql reentrant 
libs...  -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread 
-L/usr/lib -lssl -lcrypto

checking for mysql_init in -lmysqlclient_r... no
checking mysql 
libs...  -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl 
-lcrypto

checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries

Is there something miss here?

Regards


Willy 






Re: libmysqlclient failed even with all mysql packages installed

2005-08-02 Thread Alejandro Guerrieri
Ah, mysql 4.

I'm not sure about kannel supporting mysql 4 directly. Surely someone else knowns better about this issue.

I've never tried, but you could try to install the mysql-compat packages to provide the client librariesbackward-compatible with mysql 3. It works with PHP, it should work with any client I suppose...

If it works, you may also need to use the old password method on mysql4 to allow authentication with 3.x clients (mysql4 uses a different, more securehashing for passwords that 3.x clients can't understand, so you have to make your passwords using the old hashing).


Hope it helps,

Alejandro


On 8/2/05, Willy Mularto [EMAIL PROTECTED] wrote:
Hi all,I have install all mysql packages installed :mysql-shared-4.1.13-2trmysql-4.1.13-2tr
php-mysql-5.0.4-7trmysql-libs-4.1.13-2trmysql-client-4.1.13-2trmysql-devel-4.1.13-2trAnd doing ./configure Configuring DB support ...checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_configchecking mysql version... 4.1.13checking mysql reentrantlibs...-L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread-L/usr/lib -lssl -lcrypto
checking for mysql_init in -lmysqlclient_r... nochecking mysqllibs...-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl-lcryptochecking for mysql_init in -lmysqlclient... noconfigure: error: Unable to find MySQL client libraries
Is there something miss here?RegardsWilly-- Alejandro GuerrieriMagicomhttp://www.magicom-bcn.net/