Mongo V2.6 is already installed on my server which is probably using glibc-2.12. When I try to install Mongo V3.0.12 it is trying to install glibc-2.14 which it cannot do.
How can I have both glibc libraries live on my RedHat Version 7 64 bit server?
Here is what is currently installed and running:
#-> rpm -qa | grep glibc
glibc-headers-2.12-1.192.el6.x86_64
glibc-common-2.12-1.192.el6.x86_64
glibc-2.12-1.192.el6.x86_64
glibc-devel-2.12-1.192.el6.x86_64
#-> mongo --version
MongoDB shell version: 2.6.7
Here are the errors I am getting when trying to install mongo V3.0.12:
yum install -y mongodb-org-3.0.12
Loaded plugins: amazon-id, jnj-amazon, rhui-lb, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
...
--> Finished Dependency Resolution
Error: Package: mongodb-org-shell-3.0.12-1.el7.x86_64 (MongoDB)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mongodb-org-mongos-3.0.12-1.el7.x86_64 (MongoDB)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mongodb-org-server-3.0.12-1.el7.x86_64 (MongoDB)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mongodb-org-tools-3.0.12-1.el7.x86_64 (MongoDB)
Requires: libc.so.6(GLIBC_2.14)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
So I got the RPM I need but it won't install:
#-> rpm -i glibc-2.14.1-14.12.5.x86_64.rpm
warning: glibc-2.14.1-14.12.5.x86_64.rpm: Header V3 RSA/SHA256 Signature,
key ID 3dbdc284: NOKEY
file /usr/share/man/man1/localedef.1.gz from install of
glibc-2.14.1-14.12.5.x86_64 conflicts with file from package
man-pages-3.22-20.el6.noarch
file /etc/gai.conf from install of glibc-2.14.1-14.12.5.x86_64
conflicts with file from package glibc-2.12-1.192.el6.x86_64
file /etc/ld.so.conf from install of glibc-2.14.1-14.12.5.x86_64
conflicts with file from package glibc-2.12-1.192.el6.x86_64
file /etc/nsswitch.conf from install of glibc-2.14.1-14.12.5.x86_64
conflicts with file from package glibc-2.12-1.192.el6.x86_64