brianmario/mysql2 — Issue #245: MySQL “unrecognized command line option '-aes'” with ruby 1.9.3-p125
Author: ylluminate
Created: 2012-02-28 02:12:59+00:00
State: open

I have just recently installed ruby 1.9.3-p125 on Mac OS X. I use rvm for ruby mgmt and homebrew for mysql, etc. I have Xcode 4.3 with command line tools installed as Apple has them packaged now.

Oddly I've hit an odd issue with p125 that does not seem to happen at all on p0 and was hoping for some insight into what may be happening here: https://gist.github.com/b8fdc2f8b9e7aa129339

Perhaps this is a combinatorial effect perhaps of ruby 1.9.3-p125, mysql2 and perhaps the new Xcode 4.3... ?

If I remove the -aes from the mysql2 Makefile it will build and install just fine.

If I `brew remove --force mysql && brew install mysql --use-clang` it seems to install just fine with the `-aes` option, however this is quite a burdensome step to take as I've had to reinstall the gem a couple of times.

I'm hoping to get to the bottom of what may be going on here.