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:
12 |
$ yum install expat expat-devel openssl openssl-devel
$ yum remove git git-all
|
Step 2 – Build and install Git
Go get the latest Git source tarball (as of this writing it’s version 1.9.0).
12345 |
$ wget https://git-core.googlecode.com/files/git-1.9.0.tar.gz
$ tar zxf git-1.9.0.tar.gz
$ cd git-1.9.0
$ ./configure –with-expat –with-openssl
|
At this point, make sure you see following lines in the output:
12 |
checking for curl_global_init in -lcurl… yes
checking for XML_ParserCreate in -lexpat… yes
|
And now build and install Git:
12 |
$ make
$ make install
|
Revisions
- July 13, 2015 @ 13:53:50 [Current Revision] by admin
- July 13, 2015 @ 13:53:50 by admin
- July 2, 2015 @ 11:54:36 by admin
- July 2, 2015 @ 11:54:19 by admin
- March 31, 2015 @ 17:29:41 by admin
No comments yet.