Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 9
    In mac, do brew install mysql stackoverflow.com/questions/3608287/… Commented Jun 1, 2012 at 18:29
  • On my installation, mysql-devel was installed, but /usr/include/mysql was empty. mysql.h was located in /usr/include/mysql51 instead. So I ran sudo rmdir /usr/include/mysql ; sudo ln -s /usr/include/mysql51 /usr/include/mysql and voila! Mysql2 now builds properly. Commented Sep 28, 2012 at 17:26
  • for others to find this answer: *** extconf.rb failed *** (works also for fedora) Commented Nov 7, 2012 at 15:34