Coder Social home page Coder Social logo

/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/irb/completion.rb:9:in `require': libreadline.so.5: cannot open shared object file: No such file or directory about ruby-buildpack HOT 5 CLOSED

cloudfoundry avatar cloudfoundry commented on June 12, 2024
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/irb/completion.rb:9:in `require': libreadline.so.5: cannot open shared object file: No such file or directory

from ruby-buildpack.

Comments (5)

dliebreich avatar dliebreich commented on June 12, 2024

Can you please provide some more context for this error? What version of CloudFoundry are you using? Did this work in previous versions?

Why did you pick the version of libreadline.so that was in the php buildpack?

Thanks
@krishicks && @dliebreich
CF Community Pair

from ruby-buildpack.

pivotalfish avatar pivotalfish commented on June 12, 2024

@dliebreich this error surfaced when we tried to run rails c on a PWS cloud foundry instance (CF build 173)while in a tmate session.

We paired with @buddhistpirate (cf buildpacks team) and verified that this is a deficiency with the Ruby environment we use on Cloud Foundry. The buildpacks team informed us that the php buildpack version of libreadline has been compiled against the stemcell.

An alternative is to symlink the version of libreadline that's in /usr/lib: ln -s /usr/lib/libreadline.so ~/lib/libreadline.so.5.

~ @ckundo

from ruby-buildpack.

dliebreich avatar dliebreich commented on June 12, 2024

@MarkKropf Would you like to weigh in on this?

Thanks
@krishicks && @dliebreich
CF Community Pair

from ruby-buildpack.

oppegard avatar oppegard commented on June 12, 2024

Just wanted to chime in that I had the same issue with the same use-case of trying rails c on PWS using a tmate session. Symlinking libreadline provided a workaround.

from ruby-buildpack.

jchesterpivotal avatar jchesterpivotal commented on June 12, 2024

A special-case workaround was baked into c992a82, which was bundled with 1.1.0.

The core problem is that we are ahead of Heroku in moving our base system images to later versions of Ubuntu.

from ruby-buildpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.