D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

Error running ropencv on alpine linux #39

Open wcastil opened 8 years ago

wcastil commented 8 years ago

Everything seems to install fine but when I try to load ropencv I keep getting the error below. Any help is appreciated. irb(main):001:0> require 'ropencv' LoadError: Could not open library 'rbind_opencv': Error loading shared library rbind_opencv: No such file or directory. Could not open library 'librbind_opencv.so': Error loading shared library librbind_opencv.so: No such file or directory. Could not open library '/usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/librbind_opencv.so': Error relocating /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/librbind_opencv.so: _ZNK2cv8FileNode4nameB5cxx11Ev: symbol not found from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:133:in block in ffi_lib' from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:inmap' from /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb:100:in ffi_lib' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:25:inmodule:Rbind' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:14:in <module:OpenCV>' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv/ropencv.rb:12:in<top (required)>' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/lib/ruby/gems/2.2.0/gems/ropencv-0.0.21/lib/ropencv.rb:1:in <top (required)>' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:127:inrequire' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:127:in rescue in require' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:inrequire' from (irb):1 from /usr/bin/irb:11:in `

'