Why yum install gcc fails with error "Error: Protected multilib versions: libgomp-4.4.4-13.el6.i686 != libgomp-4.4.6-4.el6.x86_64 / yum install gcc-c++ fails with missing dependency errors.
Issue
yum install gccfails with the following error:
[root@qlnplnxraccl01 ~]# yum install gcc-4.4.4-13.el6.x86_64
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libgomp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: cpp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.4-13.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.4-13.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.80.el6_3.4 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.80.el6_3.4 for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
---> Package libgomp.i686 0:4.4.4-13.el6 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.80.el6_3.4 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: libgomp-4.4.4-13.el6.i686 != libgomp-4.4.6-4.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
yum install gcc-c++fails with the missing dependency errors as follows:
[root@qlnplnxraccl01 ~]# yum install gcc-c++-4.4.4-13.el6.x86_64
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.4-13.el6 for package: gcc-c++-4.4.4-13.el6.x86_64
--> Processing Dependency: libstdc++ = 4.4.4-13.el6 for package: gcc-c++-4.4.4-13.el6.x86_64
--> Processing Dependency: gcc = 4.4.4-13.el6 for package: gcc-c++-4.4.4-13.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.4-13.el6.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libgomp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: cpp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.4-13.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.4-13.el6.x86_64
---> Package libstdc++.i686 0:4.4.4-13.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.4-13.el6 for package: libstdc++-devel-4.4.4-13.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.4-13.el6 will be installed
---> Package glibc-devel.x86_64 0:2.12-1.80.el6_3.4 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.80.el6_3.4 for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6_3.4.x86_64
---> Package libgomp.i686 0:4.4.4-13.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.4-13.el6 for package: libstdc++-devel-4.4.4-13.el6.x86_64
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.80.el6_3.4 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.4-13.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.4-13.el6 for package: libstdc++-devel-4.4.4-13.el6.x86_64
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Error: Package: libstdc++-devel-4.4.4-13.el6.x86_64 (rhel-x86_64-server-6)
Requires: libstdc++(x86-64) = 4.4.4-13.el6
Installed: libstdc++-4.4.6-4.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
libstdc++(x86-64) = 4.4.6-4.el6
Available: libstdc++-4.4.4-13.el6.x86_64 (rhel-x86_64-server-6)
libstdc++(x86-64) = 4.4.4-13.el6
Available: libstdc++-4.4.5-6.el6.x86_64 (rhel-x86_64-server-6)
libstdc++(x86-64) = 4.4.5-6.el6
Available: libstdc++-4.4.6-3.el6.x86_64 (rhel-x86_64-server-6)
libstdc++(x86-64) = 4.4.6-3.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Environment
- Red Hat Enterprise Linux 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
