Skip to content

Instantly share code, notes, and snippets.

@radixhound
Created June 15, 2011 23:50
Show Gist options
  • Save radixhound/1028419 to your computer and use it in GitHub Desktop.
Save radixhound/1028419 to your computer and use it in GitHub Desktop.
heroku mysql2 gem fail
Can't install mysql2 gem..
Using mysql2 (0.3.3) from https://github.com/brianmario/mysql2.git (at master) with native extensions /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... 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