cowboyd/therubyracer — Issue #127: Symbol not found: __ZN2v86Locker7active_E (LoadError)
Author: jdrozdik
Created: 2011-11-21 23:01:16+00:00
State: open

I'm using Snow Leopard on a 32bit Mac Mini.

Here's my experience.

$ rvm use 1.9.2
Using /Users/joe/.rvm/gems/ruby-1.9.2-p290

$ gem list

*** LOCAL GEMS ***

rake (0.8.7 ruby)

$ gem install therubyracer
Fetching: libv8-3.3.10.4-x86-darwin-10.gem (100%)
Fetching: therubyracer-0.9.9.gem (100%)
Building native extensions. This could take a while...
Successfully installed libv8-3.3.10.4-x86-darwin-10
Successfully installed therubyracer-0.9.9
2 gems installed

Here is a test program
$ cat joe.rb
require 'v8'
puts 'joe'

$ ruby joe.rb
/Users/joe/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/ext/v8/v8.bundle, 9): Symbol not found: __ZN2v86Locker7active_E (LoadError)
Referenced from: /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/ext/v8/v8.bundle
Expected in: flat namespace
in /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/ext/v8/v8.bundle - /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/ext/v8/v8.bundle
from /Users/joe/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/lib/v8.rb:6:in `'
from /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9/lib/v8.rb:4:in `'
from :33:in `require'
from :33:in `rescue in require'
from :29:in `require'
from joe.rb:1:in `

'

$

I havn't been able to find any libv8's anywhere else on my system.

Do you know what the problem could be?