Written on July 7, 2009
i was trying to install pauldix-feedzirra gem and getting error something like this “Can’t find libcurl or curl/curl.h (RuntimeError)”. and i also got the similar problem in a blog post that suggest to install package libcurl3-dev, so i ran in my console:
sudo apt-get install libcurl3-dev
but in my machine (hardy heron) this package didn’t found and suggest to install libcurl4-openssl-dev
sudo apt-get install libcurl4-openssl-dev
it works and i tried to install the gem once again, and i was still getting an error, something like this: libxslt is missing. try ‘port install libxslt’ or ‘yum install libxslt-devel’
well, then i install this library followed by installing the gem:
sudo apt-get install libxslt-devel
sudo gem install pauldix-feedzirra
and then getting this success :)
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Successfully installed nokogiri-1.3.2
Successfully installed pauldix-sax-machine-0.0.13
Successfully installed taf2-curb-0.4.3.0
Successfully installed mdalessio-dryopteris-0.1.2
Successfully installed pauldix-feedzirra-0.0.12
5 gems installed
Installing ri documentation for nokogiri-1.3.2...
Installing ri documentation for pauldix-sax-machine-0.0.13...
Installing ri documentation for taf2-curb-0.4.3.0...
Enclosing class/module 'mCurl' for class Upload not known
Installing ri documentation for mdalessio-dryopteris-0.1.2...
Installing ri documentation for pauldix-feedzirra-0.0.12...
Installing RDoc documentation for nokogiri-1.3.2...
Installing RDoc documentation for pauldix-sax-machine-0.0.13...
Installing RDoc documentation for taf2-curb-0.4.3.0...
Enclosing class/module 'mCurl' for class Upload not known
Installing RDoc documentation for mdalessio-dryopteris-0.1.2...
Installing RDoc documentation for pauldix-feedzirra-0.0.12...
Tags: feedzirra, ruby on rails