From: hemant Date: 2008-07-05T16:28:28+09:00 Subject: Re: MySQL/Ruby Module On Sat, Jul 5, 2008 at 9:30 AM, Justin To wrote: > After downloading the mysql-ruby-2.8pre4 from > [http://tmtm.org/downloads/mysql/ruby/]...I stuck it into > C:\ruby\lib\mysql-ruby-2.8pre4. > > The instructions on http://www.tmtm.org/en/mysql/ruby/ says I need to > run the command % ruby extconf.rb: > > checking for main() in libmysql.lib... no > > is the error that I get. > > I need to access MySQL with Ruby, but I keep running into all sorts of > problems! > You need mysql client libraries and header files. On ubuntu hardy, I would get them with: apt-get install mysql-common mysql-client libmysqlclient15-dev