Skip to content

Instantly share code, notes, and snippets.

@ylluminate
Created February 28, 2012 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ylluminate/b8fdc2f8b9e7aa129339 to your computer and use it in GitHub Desktop.
Save ylluminate/b8fdc2f8b9e7aa129339 to your computer and use it in GitHub Desktop.
-aes error with mysql2 build
$ gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
/Users/username/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... yes
checking for rb_wait_for_single_fd()... yes
checking for mysql.h... yes
checking for errmsg.h... yes
checking for mysqld_error.h... yes
creating Makefile
make
compiling result.c
cc1: error: unrecognized command line option "-aes"
make: *** [result.o] Error 1
Gem files will remain installed in /Users/username/.rvm/gems/ruby-1.9.3-p125@all/gems/mysql2-0.3.11 for inspection.
Results logged to /Users/username/.rvm/gems/ruby-1.9.3-p125@all/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment