CentOS 5 gem install mysql problems? 2

Posted by kain Thu, 17 Jul 2008 11:59:00 GMT

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
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

 Be sure to have mysql and mysql-devel packages, and install the gem with

gem install mysql -- --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql
Trackbacks

Use the following link to trackback from your own site:
http://www.icoretech.org/trackbacks?article_id=centos-5-gem-install-mysql-problems&day=17&month=07&year=2008

Comments

Leave a comment

  1. Avatar
    Sandro 21 days later:
    It did the trick for me :D Thanks !!! ps: I didn't notice you opened a blog !! Anyway, good post! Sandro
  2. Avatar
    reeze 3 months later:
    the "--" before --with* can't be ignored It waste a lot of time to find out that :(`
Comments