Skip to content

Instantly share code, notes, and snippets.

@jm
Created June 30, 2011 18:16
Show Gist options
  • Save jm/1056827 to your computer and use it in GitHub Desktop.
Save jm/1056827 to your computer and use it in GitHub Desktop.
alloy:remix alloy$ rake db:create
dyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info
Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle
Expected in: flat namespace
dyld: Symbol not found: _mysql_get_client_info
Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle
Expected in: flat namespace
Trace/BPT trap
@jmccaffrey
Copy link

this is how I have to install it locally
env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/Cellar/mysql/5.1.51/bin/mysql_config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment