尝试使用 capistrano 启动 ruby 应用程序,不断收到 libicudata.so.48 丢失,什么包?
Trying to launch ruby app using capistrano, keep getting libicudata.so.48 is missing, what package?
libicudata.so.48:无法打开共享对象文件:没有那个文件或目录
我是运行centos 7 64bit 补充。我已经查看了数十个软件包,但在安装了十几次并重新启动了 20 次之后,我仍然收到此错误消息。
ibicudata.so.48: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.3/lib/charlock_holmes/charlock_holmes.so (LoadError)
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.3/lib/charlock_holmes.rb:1:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/gitlab-grit-2.8.1/lib/grit.rb:79:in `<top (required)>'
当您收到此错误时,通常表示 Ruby Gem C 扩展使用的库的 ABI 已更改,通常是由于系统更新。
在这种情况下,libicudata 库可能已更新,然后动态链接到它的 charlock_holmes 需要重新编译,以便符号再次匹配。这是使用 rvm 或 rbenv 的技巧之一。
libicudata.so.48:无法打开共享对象文件:没有那个文件或目录
我是运行centos 7 64bit 补充。我已经查看了数十个软件包,但在安装了十几次并重新启动了 20 次之后,我仍然收到此错误消息。
ibicudata.so.48: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.3/lib/charlock_holmes/charlock_holmes.so (LoadError)
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/charlock_holmes-0.7.3/lib/charlock_holmes.rb:1:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.1/gems/gitlab-grit-2.8.1/lib/grit.rb:79:in `<top (required)>'
当您收到此错误时,通常表示 Ruby Gem C 扩展使用的库的 ABI 已更改,通常是由于系统更新。
在这种情况下,libicudata 库可能已更新,然后动态链接到它的 charlock_holmes 需要重新编译,以便符号再次匹配。这是使用 rvm 或 rbenv 的技巧之一。