6 Replies Latest reply on Apr 20, 2018 5:25 AM by Dude!

    install rpm

    happy10319

      Hi,

      on Oracle Linux 6

      I have to install glibc-devel-2.12-1.80.el6.i686.rpm

       

      Then I run :

      rpm install glibc-devel-2.12-1.80.el6.i686.rpm

      error: Failed dependencies:

          glibc = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.i686

          glibc-headers = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.i686

       

      Those packages are present:

      root@oamim2 sf_oracle_sw]# ls -l *.rpm

      -rwxrwx---. 1 root vboxsf  4506720 Apr 16 11:46 glibc-2.12-1.80.el6_3.3.i686.rpm

      -rwxrwx---. 1 root vboxsf 14853440 Apr 16 11:59 glibc-common-2.12-1.80.el6_3.3.i686.rpm

      -rwxrwx---. 1 root vboxsf   992972 Apr 16 11:18 glibc-devel-2.12-1.80.el6.i686.rpm

      -rwxrwx---. 1 root vboxsf   622752 Apr 16 11:54 glibc-headers-2.12-1.80.el6_3.3.i686.rpm

       

      How can I install them?

      In which order?

      Can I install them in one commande line ? How?

       

      I tried:

      [root@oamim2 sf_oracle_sw]# rpm -i *.rpm

      error: Failed dependencies:

          libcap.so.2 is needed by glibc-common-2.12-1.80.el6_3.3.i686

          glibc = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.i686

          glibc-headers = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.i686

       

      Thanks.

        • 1. Re: install rpm
          Dude!

          Starting with release 5, yum is the standard package manager and resolves software dependencies.

           

          # yum install glibc-devel

           

          You can still use rpm, but then you have to take care of software dependencies yourself.

          • 2. Re: install rpm
            happy10319

            Thank you.

            yum install glibc-devel

            Loaded plugins: refresh-packagekit, security, ulninfo

            Setting up Install Process

            Package glibc-devel-2.12-1.209.0.3.el6_9.2.x86_64 already installed and latest version

            Nothing to do

             

            The problem is : when I'm installing OID (Oracle Internet Directory I have:

            And in log:

            Exception String: Error in invoking target 'install' of makefile '/u02/app/oracle/product/fmw/Oracle_IDM1/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInventory/logs/install2018-04-16_09-55-30PM.log' for details.

            For which in 1521483.1 it is said:

            glibc-devel (32 bit) RPM missing on this system. There is glibc-devel-2.12-1.80.el6.i686.rpm in OEL6.3 Install this RPM

             

            I did what you suggested but the problem persists.

             

            More over I did:

            yum install glibc-devel-2.12-1.80.el6.i686

            Loaded plugins: refresh-packagekit, security, ulninfo

            Setting up Install Process

            Package matching glibc-devel-2.12-1.80.el6.i686 already installed. Checking for update.

            Nothing to do

            [root@oamim2 sf_oracle_sw]# yum list "glibc-devel*"

            Loaded plugins: refresh-packagekit, security, ulninfo

            Installed Packages

            glibc-devel.i686                                                       2.12-1.209.0.3.el6_9.2                                                      @public_ol6_latest

            glibc-devel.x86_64              

             

            It is installed but it is not 32 bit and we need 32 bits.

             

            Thanks and regards.

            • 3. Re: install rpm
              Dude!

              If I remember correctly, EL 6 dropped support anything below i686. Perhaps what you are trying to install expects OS release versions 4 or 5, which support i386, but not 6. Which brings up another question: what are you installing exactly?

              • 4. Re: install rpm
                happy10319

                Thanks:

                Regards.

                • 5. Re: install rpm
                  Tommy.Reynolds-Oracle

                  List most distros, Oracle Linux allows you to have both the 32-bit (i686) and 64-bit (x86_64) versions of the same package installed.  Unfortunately, "rpm -q" does not include the package architecture so lots of people get this type conundrum.  The quickest solution is to do this:

                   

                  # yum install rh-lsb.i686

                  See, this is asking for a particular architecture; here 32-bits.  This will install the whole 32-bit ecosystem which will have a few packages you probably won't ever use, but disk space is cheap, heh heh.

                   

                  This also works on an individual package:

                   

                  # yum install glibc-devel.i686

                   

                  This should get you going.

                  • 6. Re: install rpm
                    Dude!

                    Installed Packages

                    glibc-devel.i686                                                       2.12-1.209.0.3.el6_9.2                                                    

                     

                    That's odd, the above means that you had glibc-devel.i686 already installed.