LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 04-22-2009, 12:26 PM   #1
bghayad
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
gcc-c++ and the dependency, redhat enterprise 4


Hi List;

I have redhat enterprise 4 (el4), and I need to install gcc-c++ but I discovered that it is installed by wrong the libstdc++-4.1.2-42.el5 (while the current redhat enterprise is 4). This libstdc++-4.1.2-42.el5 is used by alot of other packages and ofcourse not easy to remove it (it is something impossible).

gcc-c++ to be installed required to have:

gcc = 3.4.6-3.1
libstdc++ = 3.4.6
libstdc++-devel = 3.4.6

All the gcc-c++ that I tried to installed them was facing a problem that the current libstdc++-4.1.2-42.el5 vesion cause a conflict with my gcc-c++ package that I am trying to install it.

So the idea that libstdc++-4.1.2-42.el5 has higher version than libstdc++-3.4.6 which is required for the gcc-c++-3.4.6-3.1 that I am trying to install it and for my redhat enterprise 4, this is the maximum gcc-c++ version that I can install in my redhat enterprise 4.

Anyone has an idea if I can install an gcc-c++ package that can work with libstdc++-4.1.2-42.el5 (although my redhat enterprise version is 4, but really this libstdc++-4.1.2-42.el5 is working in my system and used by alot of other packages).

Or, if anyone can help me to remove this libstdc++-4.1.2-42.el5 by force, even if alot of packages (about 200 package) depend on it? How?

Or if I can install the suitable version of this package libstdc++-3.4.6 and to be used instead of the higher one (which is currently existed:
libstdc++-4.1.2-42.el5)? How?

From the other side, where I can find a good repository that has development and compilation packages for redhat enterprise? Anyone can help by giving repository settings that can be used?

Any help?
Regards
Bilal
 
Old 04-26-2009, 10:20 PM   #2
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
rpm without checking dependency: 'rpm --nodeps ...'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum & gcc => dependency problems ltorres321 Linux - Newbie 1 01-30-2006 11:29 AM
Eh? A 'gcc' dependency in 'gawk'? sundialsvcs Linux From Scratch 3 07-27-2005 08:55 PM
RPM for GCC on Redhat Enterprise Linux underdawg Linux - Newbie 2 06-22-2005 11:59 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM


All times are GMT -5. The time now is 10:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration