Comments (7)
@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.
I'm not sure why it's asking for an old version. Can you try recompiling the gem?
from nio4r.
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.
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.
@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.
@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.
OK understoond. Will focus on getting the required version of Ruby to be able to compile.
Thanks
from nio4r.
Related Issues (20)
- 2.5.5 causes Assertion failed in libev. HOT 21
- Changes for 2.5.6 and 2.5.7 HOT 4
- Can not install 2.5.6 or 2.5.7 on Linux Mint 20.1 with custom 5.9.10 kernel. HOT 4
- Is our "io" guard actually working and/or too general? HOT 2
- Enna wadda gem ay the build failing HOT 1
- 2.5.7 CRuby on Windows native extension compilation failing? HOT 3
- Missing return statement in function returning non-void HOT 6
- Why was the file /ext/nio4r/nio4r_ext.c added to ignore? HOT 1
- Windows Build HOT 3
- OpenSSL tests fail - uninitialized constant OpenSSL HOT 8
- Are epoll/kqueue not supported? HOT 2
- An error occurred while installing nio4r (2.5.8), and Bundler cannot continue. HOT 25
- RFE - Split out the pure Ruby version into its own library HOT 8
- Current warnings on M1 Mac HOT 6
- clang: selector.c:301:26: error: incompatible function pointer types HOT 5
- Selector.select throws "private method 'select' called for #<NIO::Selector:0x00007ff9b830fca0> (NoMethodError)" HOT 5
- jruby compile warnings
- Error installing on M1 with Ruby 3.x HOT 7
- Ruby head - can't compile on Ubuntu or macOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nio4r.