Rails 3.2.3 MySQL 5.5.1 Mysql2 gem install fails with ld incompatibilities
问题 I have a clean build system as follows Ubuntu 11.04 Rvm 1.13.5 Ruby 1.9.3p194 Rails 3.2.3 Gem 1.8.24 MySql 5.5.24-1 (installed in /usr/local) I am trying to install the mysql2 gem (0.3.11) and getting the following problem: pal@smurf01:~$ sudo gem install mysql2 [sudo] password for pal: Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for rb