Skip to content

Instantly share code, notes, and snippets.

@jandudulski
Created January 10, 2013 16:25
Show Gist options
  • Save jandudulski/4503444 to your computer and use it in GitHub Desktop.
Save jandudulski/4503444 to your computer and use it in GitHub Desktop.
Broken circle build
Installing therubyracer (0.11.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/ubuntu/.rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb
checking for main() in -lpthread... yes
creating Makefile
make
compiling script.cc
compiling handles.cc
compiling template.cc
compiling primitive.cc
compiling rr.cc
compiling signature.cc
compiling trycatch.cc
compiling value.cc
compiling gc.cc
compiling invocation.cc
compiling locker.cc
compiling constraints.cc
compiling message.cc
compiling context.cc
compiling object.cc
compiling backref.cc
compiling array.cc
compiling external.cc
compiling exception.cc
compiling init.cc
compiling function.cc
compiling constants.cc
compiling string.cc
compiling heap.cc
compiling accessor.cc
compiling date.cc
compiling v8.cc
compiling stack.cc
linking shared-object v8/init.so
/home/ubuntu/kosynierzy.info/vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.11-x86_64-linux/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a: could not read symbols: Malformed archive
collect2: ld returned 1 exit status
make: *** [init.so] Error 1
Gem files will remain installed in /home/ubuntu/kosynierzy.info/vendor/bundle/ruby/1.9.1/gems/therubyracer-0.11.1 for inspection.
Results logged to /home/ubuntu/kosynierzy.info/vendor/bundle/ruby/1.9.1/gems/therubyracer-0.11.1/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.11.1), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.11.1'` succeeds before bundling.
((bundle install "--path=vendor/bundle ")) returned exit code 5action bundle install failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment