I have followed all of the instructions for installing Git on Centos as
per: http://git-scm.com/book/en/Getting-Started-Installing-Git
This includes executing the following commands:
sudo yum install curl-devel expat-devel gettext-devel \ openssl-devel
zlib-devel
and
sudo yum install git-core
The second command fails with:
[sowens@loadgenerator73 ~]$ sudo yum install git-core
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package:
git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Error) for package:
git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package:
git-1.7.1-3.el6_4.1.x86_64
--> Running transaction check
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package:
git-1.7.1-3.el6_4.1.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed
--> Finished Dependency Resolution
Error: Package: git-1.7.1-3.el6_4.1.x86_64 (update)
Requires: libz.so.1(ZLIB_1.2.0)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Yet my /usr/local/lib dir contains:
-rw-r--r-- 1 root root 125718 Feb 28 11:11 libz.a
lrwxrwxrwx 1 root root 13 Feb 28 11:11 libz.so -> libz.so.1.2.7
lrwxrwxrwx 1 root root 13 Feb 28 11:11 libz.so.1 -> libz.so.1.2.7
-rwxr-xr-x 1 root root 98739 Feb 28 11:11 libz.so.1.2.7
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.