Skip to content

Instantly share code, notes, and snippets.

@lchanmann
Created August 4, 2016 22:49
Show Gist options
  • Save lchanmann/6b7b86d460ef67b5774e8c13aa2ac961 to your computer and use it in GitHub Desktop.
Save lchanmann/6b7b86d460ef67b5774e8c13aa2ac961 to your computer and use it in GitHub Desktop.
libxml-ruby error
Building native extensions. This could take a while…
ERROR: Error installing libxml-ruby:
 ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for socket() in -lsocket… no
checking for gethostbyname() in -lnsl… yes
checking for atan() in -lm… no
checking for atan() in -lm… yes
checking for inflate() in -lz… no
checking for inflate() in -lzlib… no
checking for inflate() in -lzlib1… no
 extconf failure: need zlib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.4 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.4/ext/libxml/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment