Read more

Install the typhoeus gem with native extensions

Henning Koch
March 08, 2012Software engineer at makandra GmbH

If you get this:

Installing typhoeus (0.3.3) with native extensions
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb 
checking for curl/curl.h in /opt/local/include,/opt/local/include/curl,/usr/include/curl,/usr/include,/usr/include/curl,/usr/local/include/curl... no
need libcurl
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

You can fix it by installing the libcurl3-dev package:

sudo apt-get install libcurl3-dev

Now you should be able to install the gem without problems:

sudo apt-get install typhoeus
Posted by Henning Koch to makandra dev (2012-03-08 10:43)