Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1100447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:52:56+00:00 2026-05-17T00:52:56+00:00

I have working fine my installation of Ruby on Rails on my Snow Leopard.

  • 0

I have working fine my installation of Ruby on Rails on my Snow Leopard. I’ve tried for several days install MySQL with Ruby on Rails, all I’ve got when I run:

rake db:create

is:

(in /Users/naikon/RoR/test2)
dyld: lazy symbol binding failed: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.4/ext/mysql2/mysql2.bundle
  Expected in: flat namespace

dyld: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.4/ext/mysql2/mysql2.bundle
  Expected in: flat namespace

Trace/BPT trap

I’ve tried with MySQL 32 and 64 bits (and deleting all several times), install mysql gem in all the ways I’ve found on the internet, including

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

I’m lost, frustrated and I really appreciate some help.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:52:57+00:00Added an answer on May 17, 2026 at 12:52 am

    Well lets start off with the fact your building the incorrect gem.

    From your error report it appears your using Rails 3, and this doesn’t use the “mysql” gem at all. It uses the mysql2 gem which offers a number of performance features.

    You can read more about the mysql2 gem at http://github.com/brianmario/mysql2

    I think you will be fine once you install the correct gem. =)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got ASP application, and let me clear all code is working fine
I have a Django installation with userena and django_facebook working pretty fine. Can I
I have a normal YOURLS installation and it is working fine. But I want
I have wordpress installation on my root folder, until yesterday it was working fine,
I have a project working fine under MSVS 2010 SP1. I'm trying to convert
I’m trying to issue web requests asynchronously. I have my code working fine except
I have my php app working fine, performing some other Graph API functions. However,
I have Drupal 7 site which is working fine. I added a custom PHP
I have web service urls that were working fine and are now returning the
I have this set of code which was working fine about an hour or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.