Open
Description
I get a load error on a Raspberry Pi 4B for version 0.5.0
. Version 0.4.0
loads without issue, here's the stack trace
I see the Readme mentions Ruby 2.0.0 as the highest version tested, but on the Pi4, 2.4 is the lowest version I could easily install with rbenv
.
irb(main):001:0> require 'rpi_gpio'
LoadError: libruby.so.2.7: cannot open shared object file: No such file or directory - /home/pi/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rpi_gpio-0.5.0/lib/rpi_gpio/rpi_gpio.so
from /home/pi/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rpi_gpio-0.5.0/lib/rpi_gpio.rb:1:in `require'
from /home/pi/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rpi_gpio-0.5.0/lib/rpi_gpio.rb:1:in `<top (required)>'
from (irb):1:in `require'
from (irb):1
[ bundler stack trace continues ]
lib/rpi_gpio/rpi_gpio.so
does exist on my machine. I also tried using the code from #20, but get the RuntimeError: this gem can only be run on a Raspberry Pi
.
Happy to perform any debugging steps on my machine
Metadata
Metadata
Assignees
Labels
No labels