Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created March 25, 2012 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ongaeshi/2192770 to your computer and use it in GitHub Desktop.
Save ongaeshi/2192770 to your computer and use it in GitHub Desktop.
最新のrroongaをinstallするとエラー
# 'milk web'は内部でrroongaを利用しているrubyスクリプトを起動している、とお考え下さい
# 2.0を入れる
$ sudo gem install rroonga
# エラー
$ milk web
/opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require': dlsym(0x10190f770, Init_groonga): symbol not found - /opt/local/lib/ruby1.9/gems/1.9.1/gems/rroonga-2.0.0/lib/groonga.bundle (LoadError)
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/rroonga-2.0.0/lib/groonga.rb:45:in `rescue in <top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/rroonga-2.0.0/lib/groonga.rb:41:in `<top (required)>'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/milkode-0.5.3/lib/milkode/cdstk/cdstk.rb:6:in `<top (required)>'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/milkode-0.5.3/lib/milkode/cdstk/cli_cdstksub.rb:3:in `<top (required)>'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/milkode-0.5.3/lib/milkode/cdstk/cli_cdstk.rb:3:in `<top (required)>'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:55:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/milkode-0.5.3/bin/milk:7:in `<top (required)>'
from /opt/local/bin/milk:19:in `load'
from /opt/local/bin/milk:19:in `<main>'
# 1.3.1を入れる
$ sudo gem install rroonga -v 1.3.1
# こちらも動かないがエラーの内容は異なる
$ milk web
milk web
dyld: lazy symbol binding failed: Symbol not found: _grn_ctx_set_finalizer
Referenced from: /opt/local/lib/ruby1.9/gems/1.9.1/gems/rroonga-1.3.1/lib/groonga.bundle
Expected in: flat namespace
dyld: Symbol not found: _grn_ctx_set_finalizer
Referenced from: /opt/local/lib/ruby1.9/gems/1.9.1/gems/rroonga-1.3.1/lib/groonga.bundle
Expected in: flat namespace
Trace/BPT trap: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment