Skip to content

Instantly share code, notes, and snippets.

Created February 15, 2013 16:23
Show Gist options
  • Save anonymous/4961466 to your computer and use it in GitHub Desktop.
Save anonymous/4961466 to your computer and use it in GitHub Desktop.
user@site ~/projects/ruby/tracks $ sudo gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for rb_thread_blocking_region()... yes
checking for rb_wait_for_single_fd()... yes
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
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment