You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open irb, and try to require 'fastlane'. I get a load error as follows:
[codenameone@li1287-217 jruby-9.1.10.0]$ ./bin/jruby -S irb
irb(main):001:0> require 'fastlane'
LoadError: Could not open library 'libutil' : libutil: cannot open shared object file: No such file or directory. Could not open library 'libutil.so' : libutil.so: cannot open shared object file: No such file or directory
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/ffi/library.rb:114:in `block in ffi_lib'
from org/jruby/RubyArray.java:2486:in `map'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/ffi/library.rb:84:in `ffi_lib'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/pty.rb:10:in `<module:LibUtil>'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/pty.rb:5:in `<module:PTY>'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/pty.rb:4:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/gems/shared/gems/fastlane-2.38.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/gems/shared/gems/fastlane-2.38.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/gems/shared/gems/fastlane-2.38.1/fastlane_core/lib/fastlane_core.rb:1:in `(root)'
from /path/to/jruby-9.1.10.0/lib/ruby/gems/shared/gems/fastlane-2.38.1/fastlane_core/lib/fastlane_core.rb:19:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in `(root)'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:65:in `<eval>'
from org/jruby/RubyKernel.java:1000:in `eval'
from /path/to/jruby-9.1.10.0/lib/ruby/gems/shared/gems/fastlane-2.38.1/fastlane/lib/fastlane.rb:1:in `(root)'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in `(root)'
from /path/to/jruby-9.1.10.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:130:in `block in require'
from (irb):1:in `evaluate'
from org/jruby/RubyKernel.java:1298:in `loop'
from org/jruby/RubyKernel.java:1120:in `catch'
from org/jruby/RubyKernel.java:1120:in `catch'
from /path/to/jruby-9.1.10.0/bin/jirb:13:in `<main>'
Workaround
This issue was resolved by creating a symlink from the libutil-2.17.so to libutil.so:
checked that this works fine in latest release (9.2), however using Ubuntu.
the missing symlink I believe must be an issue with the Linux distribution (CentOS 7.2 in this case).
hopefully, fixed since.
Environment
This is a fresh jruby installation with only one gem installed (and dependencies added by installing it): fastlane
Expected Behavior
Open irb, and try to require 'fastlane'. It should load ok.
Actual Behavior
Open irb, and try to require 'fastlane'. I get a load error as follows:
Workaround
This issue was resolved by creating a symlink from the libutil-2.17.so to libutil.so:
Prior to making that symlink, the lib64 directory contained:
The text was updated successfully, but these errors were encountered: