0

I am trying to connect to MySQL using Ruby, and been getting following issue:

dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Ruby/Site/1.8/universal-darwin10.0/mysql.bundle Expected in: flat namespace

dyld: Symbol not found: _mysql_init Referenced from: /Library/Ruby/Site/1.8/universal-darwin10.0/mysql.bundle Expected in: flat namespace

Trace/BPT trap

I am using 'ruby-mysql' gem, and run x86_64 bit MySQL as advised here http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard

How can I fix this error?

1
  • 1
    When you post a question, you should include an actual answerable question rather than simply describing a situation. Commented Jun 15, 2011 at 20:12

1 Answer 1

1

Rails, MySQL and Snow Leopard One of the answerers of this question had your problem (is there a way to link to an answer?)

He solved it this way:

sudo rm -f /Library/Ruby/Site/1.8/universal-darwin10.0/mysql.bundle

Haven't tried it myself, though.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.