Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-13-2009, 05:01 PM
|
#1
|
Member
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52
Rep:
|
yum install gcc issue
I am trying to install gcc for an Oracle requirement and the yum install is failing with following:
[root@odccdds01 ~]# /usr/bin/yum install gcc
Loaded plugins: rhnplugin, security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-headers = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package glibc-headers.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package kernel-headers.i386 0:2.6.18-92.1.22.el5 set to be updated
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Finished Dependency Resolution
glibc-2.5-24.el5_2.2.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
Error: Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
[root@odccdds01 ~]#
If I try to install what dependencies it says it's missing, it tells me they are already installed....
Not sure where to go from here to get gcc installed, any assistance would be appreciated....
|
|
|
02-13-2009, 05:14 PM
|
#2
|
Member
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Rep:
|
you can prove the existance of an installed RPM by issuing:
rpm -qa | grep <RPM_Name>
Otherwise, you can try and force the issue with the yum option '--nodeps' if you're sure the rpms are installed.
|
|
|
02-13-2009, 05:55 PM
|
#3
|
Member
Registered: Jan 2009
Posts: 100
Rep:
|
Make sure that you have the correct versions of glibc-common, libgomp and cpp are installed. Run 'which' or 'locate' to find out where these are installed.
You might have to check how those missing-and-existing packages are installed. If they have been installed manually (no yum and rpm involved), then the RPM database has no notion about these and issues an missing-error message for otherwise installed packages. I have seen similar issues on RHEL with MySQL, where a manual base installation and an RPM-based development package installation didn't fit together.
Debian
Last edited by servat78; 02-19-2009 at 11:25 AM.
|
|
|
02-14-2009, 01:13 PM
|
#4
|
Member
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52
Original Poster
Rep:
|
Thanks for the replies, will check the suggestions out....
This server is a new install, and everything currently on there was from the installation process....
|
|
|
02-14-2009, 01:22 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
If it is CentOS 5.x, things should just work.
If Redhat EL 5.x, isn't there some account,
you have to activate at Redhat ? ?
....
|
|
|
02-16-2009, 07:59 AM
|
#6
|
Member
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52
Original Poster
Rep:
|
Thanks for every ones assistance, was able to trace back all the dependencies, removed them, and let yum do it's thing of installing all the prereqs it needed....
|
|
|
All times are GMT -5. The time now is 12:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|