Mysql-ruby-2.4.5 problem

Hi I am trying to install the MySql module but receive the following
error:

ruby extconf.rb --with-mysql-dir=/usr/local/mysql-4.0.17
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… yes
checking for mysql_query() in -lmysqlclient… no

I have just upgraded my MySql server to version: 4.0.17.

mkmf.log (19.2 KB)

Hi,

···

At Wed, 4 Feb 2004 05:13:16 +0900, William Sundberg wrote:

“gcc -o conftest -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/mysql-4.0.17/include -g -O2 conftest.c -L”/usr/local/lib" -L"/usr/local/mysql-4.0.17/lib" -lruby-static -lmysqlclient -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lmysqlclient

You just seems to haven’t installed mysqlclient library.


Nobu Nakada