Fix for Git error: “fatal: Unable to find remote helper for ‘http’”

This error is most commonly caused by Git being compiled without support for OpenSSL or Expatlibraries. The solution is to build Git yourself.

It looks like not having (lib)curl-devel installed when you install git can cause this.

If you install (lib)curl-devel, and then rebuild/install git, this should solve the problem:

$ yum install curl-devel

Step 1 – Install OpenSSL and Expat

On example on Red Hat / Fedora you can use this command:


$ yum install expat expat-devel openssl openssl-devel
$ yum remove git git-all




view hosted with ❤ by GitHub







Step 2 – Build and install Git

Go get the latest Git source tarball (as of this writing it’s version 1.9.0).


$ wget
$ tar zxf git-1.9.0.tar.gz
$ cd git-1.9.0
$ ./configure –with-expat –with-openssl




view rawgistfile1.txt hosted with ❤ by GitHub







At this point, make sure you see following lines in the output:


checking for curl_global_init in -lcurl… yes
checking for XML_ParserCreate in -lexpat… yes




view rawgistfile1.txt hosted with ❤ by GitHub







And now build and install Git:


$ make
$ make install











No comments yet.

Leave a Reply