{"id":98,"date":"2013-10-22T07:10:00","date_gmt":"2013-10-22T07:10:00","guid":{"rendered":"http:\/\/305@jodohost.com\/\/blog\/"},"modified":"2013-10-22T07:10:00","modified_gmt":"2013-10-22T07:10:00","slug":"how-to-fix-the-error-please-reinstall-the-libcurl","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/10\/22\/how-to-fix-the-error-please-reinstall-the-libcurl\/","title":{"rendered":"How to fix the error: &quot;Please reinstall the libcurl&quot;"},"content":{"rendered":"<p>While compiling PHP with cURL support we get the error below:- <\/p>\n<p>==========================================================================<br \/>checking for cURL support&#8230; yes<br \/>checking if we should use cURL for URL streams&#8230; yes<br \/>checking for cURL in the default path&#8230; not found<br \/>configure: error: Please reinstall the libcurl distribution &#8211;<br \/>\u00a0\u00a0\u00a0 easy.h should be in <curl-dir>\/include\/curl\/<br \/>==========================================================================<\/p>\n<p>However, if we check libcurl is already installed on the server with the command below:- <\/p>\n<p>yum list|grep curl<\/p>\n<p>curl.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.7-37.el6_4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 @updates<br \/>libcurl.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.7-37.el6_4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 @updates<br \/>libcurl-devel.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.7-37.el6_4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 @updates<br \/>python-pycurl.x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.0-8.el6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 @anaconda-CentOS-201207061011.x86_64\/6.3<br \/>libcurl.i686\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.7-37.el6_4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 updates<br \/>libcurl-devel.i686\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7.19.7-37.el6_4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 updates<\/p>\n<p>In this we have to make sure that the libcurl-devel package is installed on the server, if it is not then install it first as below:- <\/p>\n<p>yum install libcurl-devel -y<\/p>\n<p>and then try to re-compile PHP with cURL and it should be able to compile this time.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While compiling PHP with cURL support we get the error below:- ==========================================================================checking for cURL support&#8230; yeschecking if we should use cURL for URL streams&#8230; yeschecking for cURL in the default path&#8230; not foundconfigure: error: Please reinstall the libcurl distribution &#8211;\u00a0\u00a0\u00a0 easy.h should be in \/include\/curl\/========================================================================== However, if we check libcurl is already installed on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/98"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}