How to install 32 bit gcc version on 64 bit RHEL 5 platform?

Solution Unverified - Updated -

Issue

  • Need to install gcc package for 32 bit version in x86_64 machine.
  • Insallation of 32 bit gcc package fails with the following conflict error :-
# rpm -ivh gcc-4.1.2-54.el5.i386.rpm
warning: gcc-4.1.2-54.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 192a7d7d
Preparing...                ########################################### [100%]
file /usr/libexec/getconf/default from install of gcc-4.1.2-54.el5.i386 conflicts with file from package gcc-4.1.2-54.el5.x86_64
file /usr/share/man/man1/gcc.1.gz from install of gcc-4.1.2-54.el5.i386 conflicts with file from package gcc-4.1.2-54.el5.x86_64
file /usr/share/man/man1/gcov.1.gz from install of gcc-4.1.2-54.el5.i386 conflicts with file from package gcc-4.1.2-54.el5.x86_64

Environment

  • Red Hat Enterprise Linux(RHEL) 5
  • gcc.i386.rpm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.