Results 1 to 5 of 5
Hi everyone! I've been a long time lurker here on these forums, but first time posting.
It's a long story, but I am attempting to install gcc-4.1.2-51.el5.x86_64.rpm to centos 5. ...
- 11-08-2011 #1Just Joined!
- Join Date
- Nov 2011
- Location
- Denver, CO
- Posts
- 2
finding obsolete gcc rpms
Hi everyone! I've been a long time lurker here on these forums, but first time posting.
It's a long story, but I am attempting to install gcc-4.1.2-51.el5.x86_64.rpm to centos 5. It's an older version I know, which makes finding its dependencies a struggle.
Specifically, I am looking for libgomp-4.1.2-51.el5. I've checked everywhere I could think of (pbone, rpmfind, etc.) but i'm having a heck of a time on this treasure hunt.
Anybody know where I could find this and more generally, other older packages if needed?
Thanks!
[edited to correct a typo- it helps to know the correct version i'm looking for
]
Last edited by lithophile; 11-08-2011 at 11:29 PM.
- 11-09-2011 #2
yum should be able to help you here.
I assume, you still have the standard centos repos.
Then s/th like this should do:
You might need to add packages, if yum complains about dependencies.Code:yum downgrade gcc-4.1.2-51.el5 libgomp-4.1.2-51.el5
You must always face the curtain with a bow.
- 11-09-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
Normally, you can install more than one version of gcc in a system. Anyway, libgomp is part of the OpenMPI though it is installed by default with you install RHEL 6.x. As to whether or not you HAVE to downgrade gcc and libgomp, I don't know for sure. You may need to install the 4.1.2 version of libgomp into an alternative location on the system, such as /usr/local/lib or /usr/local/lib64 instead of /usr/lib or /usr/lib64, if you want to use the 4.1.2 compiler and still keep the current (4.4?) compiler on the system.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-10-2011 #4Just Joined!
- Join Date
- Nov 2011
- Location
- Denver, CO
- Posts
- 2
thanks, both of you! Strangely enough, I was able to make the gcc-4.1.2-51.el5.x86_64 install using libgomp-4.4.0-6. Not entirely sure why, since other more recent versions wouldn't work, but at least i'm out of dependency hell.
I should have mentioned that yum wasn't an option, because the computer hasn't been added to our network yet, thus no internet.
again- thanks!
- 11-10-2011 #5
Here is the explanation, also determined on an centos5 machine:
I am not a developer, so I cannot judge if that rather open dependency is just lazyness of the packagerCode:rpm -q --requires gcc | grep libgomp libgomp >= 4.1.2-50.el5
or if it is OK-ish for developing to have any version of libgomp as long as it is newer than gcc.You must always face the curtain with a bow.


Reply With Quote