Giter VIP home page Giter VIP logo

Comments (7)

tarcieri avatar tarcieri commented on July 17, 2024 1

@arnoldtonderaimarunda there's nothing specific to glibc in nio4r.

This error relates to the version of glibc that nio4r is compiled against.

If you compile a new version, it should link against the current version of glibc. If the error persists, you may still have the old one installed.

from nio4r.

ioquatix avatar ioquatix commented on July 17, 2024

I'm not sure why it's asking for an old version. Can you try recompiling the gem?

from nio4r.

arnoldtonderaimarunda avatar arnoldtonderaimarunda commented on July 17, 2024

Could you give me direction as to how I recompile as you have suggested.
This is what I have tried;
Installed Gem Compiler from https://github.com/luislavena/gem-compiler
and then compiled to get the following:

Successfully built RubyGem
  Name: nio4r
  Version: 2.5.8
  File: nio4r-2.5.8-armv7l-linux-eabihf.gem

I tried to install local gem compiled using
gem install --local nio4r-2.5.8-armv7l-linux-eabihf.gem

and get the following error

ERROR:  Error installing nio4r-2.5.8-armv7l-linux-eabihf.gem:
	There are no versions of nio4r (= 2.5.8) compatible with your Ruby & RubyGems
	nio4r requires Ruby version ~> 2.7.0. The current ruby version is 2.7.0.dev.

from nio4r.

arnoldtonderaimarunda avatar arnoldtonderaimarunda commented on July 17, 2024

Don't know how to get v2.7.0 instead of 2.7.0.dev
Install using Snap's latest/stable channel. The only other channel available is 2.6/stable which would not be ideal since nio4r wants 2.7.0

from nio4r.

dentarg avatar dentarg commented on July 17, 2024

@arnoldtonderaimarunda When did you install Ruby? There might be a newer version available now, https://snapcraft.io/install/ruby/raspbian says "Last updated 31 December 2021" (but I don't know, I'm not Raspbian user)

Otherwise you could try to search or ask for help over at https://forums.raspberrypi.com/

from nio4r.

arnoldtonderaimarunda avatar arnoldtonderaimarunda commented on July 17, 2024

@dentarg Reinstalled today, and still issue arises when I try to install compiled Nio4r gem. Look like all versions installed by Snap have 'dev' suffix. May have to try install using rbenv.

However, the core issue is the nio4r gem seems hardcoded to look for a specific GLIBC version, which happens to be old.

from nio4r.

arnoldtonderaimarunda avatar arnoldtonderaimarunda commented on July 17, 2024

OK understoond. Will focus on getting the required version of Ruby to be able to compile.
Thanks

from nio4r.

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.