-   Linux - Enterprise (
-   -   gcc-c++ and the dependency, redhat enterprise 4 (

bghayad 04-22-2009 12:26 PM

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?

ozminh 04-26-2009 10:20 PM

rpm without checking dependency: 'rpm --nodeps ...'

All times are GMT -5. The time now is 09:08 AM.