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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:14:00+00:00 2026-05-25T12:14:00+00:00

I am migrating a production app from bamboo stack to cedar, I successfully pushed

  • 0

I am migrating a production app from bamboo stack to cedar, I successfully pushed the app on cedar but resulting in error like

LoadError: Could not open library 'lib.so': lib.so: cannot open shared object file: No such file or directory
from /app/vendor/bundle/ruby/1.9.1/gems/ffi-1.0.9/lib/ffi/library.rb:75:in `block in ffi_lib'
from /app/vendor/bundle/ruby/1.9.1/gems/ffi-1.0.9/lib/ffi/library.rb:54:in `map'
from /app/vendor/bundle/ruby/1.9.1/gems/ffi-1.0.9/lib/ffi/library.rb:54:in `ffi_lib'

0.1.3/lib/tidy_ffi/interface.rb:5:in `’

Looks like some native libs are missing on Cedar stack which existed on bamboo stack. In my case, its libtidy.so .

How can I fix this?

  • 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-25T12:14:01+00:00Added an answer on May 25, 2026 at 12:14 pm

    Bamboo stack and Cedar stack are quite different in terms of whats included in it. But the underlying linux kernel & architechture is same hence it should be safe to copy over the files

    (local)$ heroku run bash --app bamboo-app-name
    (remote)$ uname -a
      Linux  2.6.32-316-ec2 #31-Ubuntu SMP Wed May 18 14:10:36 UTC 2011 x86_64 GNU/Linux
    

    (local)$ heroku run bash --app cedar-app-name
    (remote)$ uname -a
      Linux  2.6.32-316-ec2 #31-Ubuntu SMP Wed May 18 14:10:36 UTC 2011 x86_64 GNU/Linux
    

    Lets say your app uses tidy_ffi gem which requires shared object file libtidy.so to be present in /usr/lib.

    In cedar, any call like TidyFFI::Tidy.new(“Hello“) will fail as

    LoadError: Could not open library 'lib.so': lib.so: cannot open shared object file: No such file or directory
    

    To fix it you can obtain a copy of libtidy.so from bamboo (you can use scp to any remote box for that) and commit it in your repo (may be at RAILS_ROOT/lib/native) and add following line to environment.rb

    ENV['LD_LIBRARY_PATH'] ||="/usr/lib"
    ENV['LD_LIBRARY_PATH'] +=":/app/lib/native"
    

    This will make tidy_ffi gem to look into lib/native for shared libraries.
    Push these changes to cedar app and everything should work fine.

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

Sidebar

Related Questions

I'm migrating my development workstation from 32-bit Vista to 64-bit Vista. The production platform
We will soon be migrating company data from our pre-production server to production with
I just pushed an app to a production Heroku environment. Basically there is a
I'm migrating an existing service from HTTP (Dev/UAT) to HTTPS (Production), and I'm having
We are currently in the process of migrating our application from our production environment
I got an app running in production on heroku, but there is a problem
Migrating a project from ASP.NET 1.1 to ASP.NET 2.0 and I keep hitting this
After migrating my whole setup from Java 1.5 to 1.6 (J2EE, Tomcat) a couple
Background: Migrating an application from ball of mud to MVC. Many classes contain HTML
I am migrating a struts application from Websphere to Tomcat 6 and my application

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.