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

  • SEARCH
  • Home
  • 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 6032655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:21:58+00:00 2026-05-23T05:21:58+00:00

Like Meltemi posted on this post: Passenger error "library not loaded" i get the

  • 0

Like Meltemi posted on this post: Passenger error "library not loaded" i get the same error. but the answer posted does not help!

dlopen(/Users/andi/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle, 9):
Library not loaded: libmysqlclient.16.dylib
Referenced from: /Users/andi/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle
Reason: image not found - /Users/andi/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle

Im operating with RVM 1.2.6, Rails 3.0.3, Ruby 1.9.2. The server worked fine, till i switched my repository from svn to git. It seems very strange to me that this change effected my installation.

$bundle list
Gems included by the bundle:
...
  * mysql2 (0.2.7)
...


$ /usr/local/mysql-5.5.8-osx10.6-x86_64/bin/mysql --version
/usr/local/mysql-5.5.8-osx10.6-x86_64/bin/mysql  Ver 14.14 Distrib 5.5.8, for osx10.6 (i386) using readline 5.1

thx for response!

EDIT: solution:

according to rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5 and http://freddyandersen.wordpress.com/2010/10/03/mysql-5-5-snow-leopard-and-rails/

this command solves my problem:
sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib ~/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle

  • 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-23T05:21:59+00:00Added an answer on May 23, 2026 at 5:21 am

    solution:

    according to rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5 and http://freddyandersen.wordpress.com/2010/10/03/mysql-5-5-snow-leopard-and-rails/

    this command solves my problem: sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib ~/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle

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

Sidebar

Related Questions

Like This: * ** *** **** Not like this: * ** *** I mean
Like is available via passing a string through ESQL... but not as an actual
Like this: TreeNode[] treeNodes = treeView.Nodes.Find(searchString, true); but I want it to search in
Like this one: CSS Vertical Text But it uses browser specific CSS extensions, so
Like a person asked here (but his solutions as to call a nother function)
Like Button's table LIKE_ID (unique like ID for each post) LIKES (number of times
Like this one? http://weblogs.asp.net/dwahlin/archive/2007/09/09/c-3-0-features-object-initializers.aspx Person p = new Person() { FirstName = John, LastName
Like the question says is there a better way to write this: SELECT clients_lists.*,
Like this:(with left click or shortcut) and that would open main.xml It would really
like the Q i have this code K1player1D.text = [[NSUserDefaults standardUserDefaults] objectForKey:@K1scoredLabel1]; K1player1L.text =

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.