Skip to content

Instantly share code, notes, and snippets.

@Proful
Created January 28, 2011 07:14
Show Gist options
  • Save Proful/799947 to your computer and use it in GitHub Desktop.
Save Proful/799947 to your computer and use it in GitHub Desktop.
installing mysql error.
$ gem.bat install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby.exe extconf.rb
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... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment