19 October 2010

So after upgrading to Ruby 1.9.2 and Rails 3 all at once on my shiny new Snow Leopard macbook, (a foolish thing to do! One step at a time! Isolate errors!),
after patching my rails app all over the place till rails_upgrade stops whining,
and after a gentle reminder to sudo gem install mysql, I get this:

A search for "lazy symbol binding failed: Symbol not found: _mysql_init" yields this, this,
and this ... pointing out that you don't get the wonderful mysql gem without a *little* bit of effort ... but:

The usual drill, I run these commands a few times to make sure they don't change their minds if I insist politely ... no bacon. But what's the deal with mysql_config5?
... it turns out that it's *not* the same as mysql_config ... it's not the same thing at all, and it has completely different output: