OpenSuSE Tumbleweed LibICU incompatible with charlock_holmes, builds but does not load
wpostma opened this issue · 0 comments
For a while it seems OpenSuSE tumbleweed's bleeding edge LibICU version has broken charlock_holmes gem installation, but starting in 2016-11-09 release, it builds but fails at runtime.
> irb
2.3.0 :001 > require 'charlock_holmes'
LoadError: /home/wpostma/.rvm/gems/ruby-2.3.0/gems/charlock_holmes-0.7.3/lib/charlock_holmes/charlock_holmes.so:
undefined symbol: _ZTIN6icu_538ByteSinkE - /home/wpostma/.rvm/gems/ruby-2.3.0/gems/charlock_holmes-0.7.3/lib/charlock_holmes/charlock_holmes.so
from /home/wpostma/.rvm/rubies/ruby-2.3.0/lib64/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/wpostma/.rvm/rubies/ruby-2.3.0/lib64/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
I know that some other gems like nokogiri have taken to bundling their dependencies within them, but with LibICU that would be problematic.
I'd be willing to try to make a merge request to fix charlock_holmes so that it "just works" with this bleeding edge libicu if I had any idea how to begin. I suspect that installing a custom old version of libicu* libs is possible now, but isn't the right "long term" approach.
If this is a duplicate of some other issue please close it. I searched for "tumbleweed" but perhaps any "libicu version > X not supported" bug is a the correct place for this, not my specific report.