rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.66k stars 192 forks source link

Not linked with v8 when libv8 has --with-system-v8 #312

Closed pikajude closed 8 years ago

pikajude commented 10 years ago
$ otool -L /nix/store/pfn5dx2cr9b6zzkxnida03i4dx927pgl-ruby1.9-therubyracer-0.12.1/lib/ruby/gems/1.9/extensions/x86_64-darwin-13/1.9.1/therubyracer-0.12.1/v8/init.bundle
/nix/store/pfn5dx2cr9b6zzkxnida03i4dx927pgl-ruby1.9-therubyracer-0.12.1/lib/ruby/gems/1.9/extensions/x86_64-darwin-13/1.9.1/therubyracer-0.12.1/v8/init.bundle:
        /nix/store/h8y3dswq7627v8ygy6symbcx6j3qiip1-ruby-1.9.3-p484/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
        /nix/store/pbfw4yz9harnna33nwmi6smn1nihdd9r-gcc-apple-4.2.1.5666.3/lib/x86_64/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

Then rails s aborts because none of the v8 symbols in init.bundle can be found. What am I missing here?

ignisf commented 8 years ago

This should be fixed now