Skip to content

Instantly share code, notes, and snippets.

@atz
Created December 21, 2012 20:19
Show Gist options
  • Save atz/4355514 to your computer and use it in GitHub Desktop.
Save atz/4355514 to your computer and use it in GitHub Desktop.
More gem install failures
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for main() in -lpthread... yes
/var/lib/gems/1.9.1/gems/libv8-3.11.8.4/lib/libv8.rb:9: Use RbConfig instead of obsolete and deprecated Config.
creating Makefile
make
compiling locker.cc
compiling function.cc
compiling invocation.cc
compiling string.cc
compiling v8.cc
compiling stack.cc
compiling constants.cc
compiling value.cc
compiling trycatch.cc
compiling primitive.cc
compiling init.cc
compiling heap.cc
compiling message.cc
compiling rr.cc
compiling script.cc
compiling context.cc
compiling exception.cc
compiling external.cc
compiling backref.cc
compiling signature.cc
compiling accessor.cc
compiling template.cc
compiling date.cc
compiling handles.cc
compiling array.cc
compiling constraints.cc
compiling gc.cc
compiling object.cc
linking shared-object v8/init.so
/var/lib/gems/1.9.1/gems/libv8-3.11.8.4/vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a: could not read symbols: Malformed archive
collect2: error: ld returned 1 exit status
make: *** [init.so] Error 1
Gem files will remain installed in /home/atz/.bundler/tmp/19665/gems/therubyracer-0.11.0 for inspection.
Results logged to /home/atz/.bundler/tmp/19665/gems/therubyracer-0.11.0/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.11.0), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.11.0'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment