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 7589961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:17:36+00:00 2026-05-30T20:17:36+00:00

I am getting the below error while starting server of my project. I am

  • 0

I am getting the below error while starting server of my project. I am trying to resolve since yesterday but was not able to solve it. somebody pls help me.

=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3001
Encountered error loading /home/success/prj/myprj/vendor/gems/mysql2-0.2.18/precompiled/i686-linux/1.8.7/mysql2/mysql2.so: libruby.so.1.8: cannot open shared object file: No such file or directory - /home/success/prj/myprj/vendor/gems/mysql2-0.2.18/precompiled/i686-linux/1.8.7/mysql2/mysql2.so
Encountered error loading /home/success/prj/myprj/vendor/gems/mysql2-0.2.18/precompiled/i686-linux/1.8.7/mysql2/mysql2.so: libruby.so.1.8: cannot open shared object file: No such file or directory - /home/success/prj/myprj/vendor/gems/mysql2-0.2.18/precompiled/i686-linux/1.8.7/mysql2/mysql2.so
/home/success/prj/eschool/vendor/gems/mysql2-0.2.18/lib/mysql2/mysql2.rb:13: Failed to load mysql2 binary for your platform (i686-linux/1.8.7) Run ./compile_native_library.rb (RuntimeError)
        from /home/success/prj/myprj/vendor/gems/rubygems-update-1.7.2/lib/rubygems/custom_require.rb:36:in `gem_original_require'
        from /home/success/prj/myprj/vendor/gems/rubygems-update-1.7.2/lib/rubygems/custom_require.rb:36:in `require'
        from /home/success/prj/myprj/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
        from /home/success/prj/myprj/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
        from /home/success/prj/myprj/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
        from /home/success/prj/myprj/vendor/gems/mysql2-0.2.18/lib/mysql2.rb:9

UPDATE:

success@success-Vostro-1400:/usr/lib$ ls -l libruby*
lrwxrwxrwx 1 root root      19 2012-02-22 07:07 libruby1.8.so -> libruby1.8.so.1.8.7
lrwxrwxrwx 1 root root      19 2012-02-22 07:07 libruby1.8.so.1.8 -> libruby1.8.so.1.8.7
-rw-r--r-- 1 root root  956360 2012-02-22 07:22 libruby1.8.so.1.8.7
-rw-r--r-- 1 root root 1436438 2012-02-22 07:22 libruby1.8-static.a
  • 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-30T20:17:37+00:00Added an answer on May 30, 2026 at 8:17 pm

    I solved this problem following below steps :

    1. uninstall all the mysql2 gems
    2. install mysql2, version < 0.3
    3. go to vendor/gems directory
    4. execute gem unpack mysql2
    5. execute rake gems:refresh_specs
    6. execute rake gems:build
    7. add config.gem mysql2 to environment.rb
    8. restart the server
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm getting the below error, When compiling the Asp.Net web deploy project Could not
I'm trying to build a java application with gcj but getting the error below.
i'm getting exception on Transformer transformer = tFactory.newTransformer(StreamXSL); but the error below is not
I am getting below error while playing audio. Is this the reason for not
I am getting the below error and stack trace while trying to save/create a
I have installed DBD::Pg version 2.17.1 but still still getting error while using below
We are getting the error below calling c:\windows\syswow64\regsvr32.exe on Windows Server 2008 R2 x64.
I am getting the below error while installing the war file mentioned here. http://www.ibm.com/developerworks/websphere/library/techarticles/0809_vamsi/0809_vamsi.html
While using inner join on Pro*C I am getting the below error: PCC-S-02201, Encountered
I'm getting below error while updating two tables using entity framework - Object with

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.