rubinius/rubinius — Issue #1505: Nokogiri 1.5.0 build fails : Symbol not found
Author: kyledrake
Created: 2012-01-10 21:16:31+00:00
State: open

There are earlier reports of Nokogiri not working, but they seem unrelated so I'm filing a new one:

rbx-head :001 > require 'nokogiri'
LoadError::InvalidExtensionError: Could not open library /Users/kyledrake/.rvm/gems/rbx-head/gems/nokogiri-1.5.0/lib/nokogiri/nokogiri.bundle - dlopen(/Users/kyledrake/.rvm/gems/rbx-head/gems/nokogiri-1.5.0/lib/nokogiri/nokogiri.bundle, 10): Symbol not found: _rb_external_str_new_with_enc
from kernel/common/native_method.rb:28:in `load_extension'
from kernel/delta/codeloader.rb:183:in `load_library'
from kernel/common/codeloader.rb:126:in `require'
from kernel/common/codeloader.rb:201:in `require'
from kernel/common/kernel.rb:651:in `gem_original_require (require)'
from /Users/kyledrake/.rvm/rubies/rbx-head/lib/rubygems/custom_require.rb:36:in `require'
from /Users/kyledrake/.rvm/gems/rbx-head/gems/nokogiri-1.5.0/lib/nokogiri.rb:27:in `__script__'
from kernel/common/codeloader.rb:207:in `require'
from kernel/common/kernel.rb:651:in `gem_original_require (require)'
from /Users/kyledrake/.rvm/rubies/rbx-head/lib/rubygems/custom_require.rb:59:in `require'
from (irb):1
from kernel/common/block_environment.rb:74:in `call_on_instance'
from kernel/common/eval.rb:71:in `eval'
from kernel/common/kernel19.rb:17:in `loop'
from kernel/common/throw_catch19.rb:8:in `catch'
from kernel/common/throw_catch.rb:10:in `register'
from kernel/common/throw_catch19.rb:7:in `catch'
from kernel/common/throw_catch19.rb:8:in `catch'
from kernel/common/throw_catch.rb:10:in `register'
from kernel/common/throw_catch19.rb:7:in `catch'
from kernel/delta/codeloader.rb:67:in `load_script'
from kernel/delta/codeloader.rb:109:in `load_script'
from kernel/loader.rb:630:in `script'
from kernel/loader.rb:834:in `main'

Interestingly, this seems to work fine in 1.8 mode (it doesn't throw a symbol exception at any rate).