therubyracer on Ubuntu install issues with ruby-2.0.0-p247
- by Victor S
I can't seem to get therubyracer gem installed on ubuntu, i get the following errors, anyone can help?
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/home/victorstan/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
checking for main() in -lpthread... yes
creating Makefile
make
compiling constraints.cc
compiling array.cc
compiling value.cc
compiling invocation.cc
compiling primitive.cc
compiling trycatch.cc
compiling context.cc
compiling exception.cc
compiling template.cc
compiling accessor.cc
compiling object.cc
compiling script.cc
compiling external.cc
compiling stack.cc
compiling gc.cc
compiling backref.cc
compiling heap.cc
compiling v8.cc
compiling constants.cc
compiling date.cc
compiling function.cc
compiling rr.cc
compiling message.cc
compiling init.cc
compiling string.cc
compiling handles.cc
compiling signature.cc
compiling locker.cc
linking shared-object v8/init.so
g++: /home/victorstan/.rvm/gems/ruby-2.0.0-p247@global/gems/libv8-3.11.8.17-x86_64-linux/vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a: No such file or directory
g++: /home/victorstan/.rvm/gems/ruby-2.0.0-p247@global/gems/libv8-3.11.8.17-x86_64-linux/vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_snapshot.a: No such file or directory
make: *** [init.so] Error 1
Update
It seems it's trying to use a 32 bit library instead of a 64 bit library, anyone else experience issue trying to install 64 bit applications and packages on Ubuntu, and it trying to install 32 bit version instead (even though the system is a 64 Linux)?
Related: https://github.com/cowboyd/therubyracer/issues/262