Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
I am newbie to Linux.. I am trying to install required RPMs for Oracle. It fails with following. Please help me!! rpm -Uvh openmotif21-2.1.30-11.el6.i686.rpm error: Failed dependencies: libICE.so.6 is needed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    5

    Unable to install RPMs in Oracle Linux 6


    I am newbie to Linux.. I am trying to install required RPMs for Oracle. It fails with following. Please help me!!

    rpm -Uvh openmotif21-2.1.30-11.el6.i686.rpm
    error: Failed dependencies:
    libICE.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libSM.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libX11.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libXext.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libXp.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libXt.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6 is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.0) is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.1) is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.1.3) is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.2) is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.3) is needed by openmotif21-2.1.30-11.EL6.i686
    libc.so.6(GLIBC_2.3.4) is needed by openmotif21-2.1.30-11.EL6.i686


    Thanks in advance

    S. Sundar

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    hi and welcome.

    Although oracle linux and redhat enterprise linux are related, I have some doubts that you can install just any el6 rpm.

    In your case, openmotif needs some dependend packages.
    rpm will not resolve those.
    Try to install openmotif by using yum and the oracle linux standard repositories.
    Code:
    yum install openmotif21
    You must always face the curtain with a bow.

  3. #3
    Linux Newbie
    Join Date
    Apr 2012
    Posts
    112
    Quote Originally Posted by Irithori View Post
    hi and welcome.

    Although oracle linux and redhat enterprise linux are related, I have some doubts that you can install just any el6 rpm.

    In your case, openmotif needs some dependend packages.
    rpm will not resolve those.
    Try to install openmotif by using yum and the oracle linux standard repositories.
    Code:
    yum install openmotif21
    IIRC, Oracle do the same as CentOS and repackage RHEL 6. I think they have their ridiculously named unbreakable kernel but the rest is pretty much the same.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    True, to an extent.
    Centos, Scientific Linux and Oracle Linux are clones of Red Hat and binary compatible.

    However, there are subtle differences in rpm handling:
    Some packages are missing, others are additonal, some packages have slightly different files (redhat logos, etc), ..

    So you might get away with cross-installing rpms between these three distributions, but I definitely wouldnt recommend doing so.
    You must always face the curtain with a bow.

  5. #5
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    882
    Hello,

    Since you're installing from RPM and not a repository, you need to resolve those dependencies yourself.
    So, before you attempt to install your RPM, do the following (if you're connected to the internet)

    yum provides <dependency>
    ie:
    yum provides libc.so.6\(GLIBC_2.2\)
    \ is the escape character, so your shell won't interpret ( and ) as operators, and instead interpret them as characters.

    Most of those dependencies will be resolved by a few packages.
    After you run that command, you'll get an output like this:
    PHP Code:
    glibc-2.....<big long number here> : The GNU libc librariers
    Repo 
    :  installed (or uninstalledin your case)
    Matched from:
    Other Provides-matchetcetc 
    So, that first line "glibc-2..." is the package you need to install. The easiest way would be
    yum install glibc

    Do that for all of your dependencies, then retry the RPM.

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Your best bet is to use YUM rather than rpm on its own e.g.
    Code:
    yum localinstall openmotif21-2.1.30-11.el6.i686.rpm
    or
    Code:
    yum install openmotif21

  7. #7
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    Quote Originally Posted by Irithori View Post
    True, to an extent.
    Centos, Scientific Linux and Oracle Linux are clones of Red Hat and binary compatible.

    However, there are subtle differences in rpm handling:
    Some packages are missing, others are additonal, some packages have slightly different files (redhat logos, etc), ..

    So you might get away with cross-installing rpms between these three distributions, but I definitely wouldnt recommend doing so.
    Advice to use yum is spot on, BUT....
    Oracle Unbreakable Linux is becoming more and more of a separate branch as time goes along. Along with the different kernels, there are also the Oracle-specific packages like ASM, which are bundled into the ULN channels along with dependencies, but must be downloaded and manually installed on the other variants.

    I support Centos, RHEL, and Oracle Linux in production environments. I wouldn't want to support any of them without access to the yum repos for each (free for Centos, $ for RHEL and Oracle EL). My guess is that OP does not have a support agreement with Oracle, and thus can't use yum for updates.

  8. #8
    Just Joined!
    Join Date
    May 2012
    Posts
    5
    Thanks for the reply.

    As I had mentioned, I am newbie to Linux.. I have a basic doubt..The missing libraries are available in PATH. For example,

    # which libICE.so.6
    /usr/lib64/libICE.so.6

    Still why it is reported as "Failed dependencies"?

    S. Sundar

  9. #9
    Just Joined!
    Join Date
    May 2012
    Posts
    5
    Quote Originally Posted by mizzle View Post
    Hello,

    Since you're installing from RPM and not a repository, you need to resolve those dependencies yourself.
    So, before you attempt to install your RPM, do the following (if you're connected to the internet)

    yum provides <dependency>
    ie:
    yum provides libc.so.6\(GLIBC_2.2\)
    \ is the escape character, so your shell won't interpret ( and ) as operators, and instead interpret them as characters.

    Most of those dependencies will be resolved by a few packages.
    After you run that command, you'll get an output like this:
    PHP Code:
    glibc-2.....<big long number here> : The GNU libc librariers
    Repo 
    :  installed (or uninstalledin your case)
    Matched from:
    Other Provides-matchetcetc 
    So, that first line "glibc-2..." is the package you need to install. The easiest way would be
    yum install glibc

    Do that for all of your dependencies, then retry the RPM.

    [root@r12lapps Packages]# yum provides "*/libSM.so.6"
    Loaded plugins: refresh-packagekit
    libSM-1.1.0-7.1.el6.x86_64 : X.Org X11 SM runtime library
    Repo : installed
    Matched from:
    Filename : /usr/lib64/libSM.so.6



    [root@r12lapps Packages]# yum provides "*/libX11.so.6"
    Loaded plugins: refresh-packagekit
    libX11-1.3-2.el6.x86_64 : Core X11 protocol client library
    Repo : installed
    Matched from:
    Filename : /usr/lib64/libX11.so.6



    [root@r12lapps Packages]# yum provides "*/libXext.so.6"
    Loaded plugins: refresh-packagekit
    libXext-1.1-3.el6.x86_64 : X.Org X11 libXext runtime library
    Repo : installed
    Matched from:
    Filename : /usr/lib64/libXext.so.6



    [root@r12lapps Packages]# yum provides "*/libXp.so.6"
    Loaded plugins: refresh-packagekit
    No Matches found
    [root@r12lapps Packages]# yum provides "*/libXt.so.6"
    Loaded plugins: refresh-packagekit
    libXt-1.0.7-1.el6.x86_64 : X.Org X11 libXt runtime library
    Repo : installed
    Matched from:
    Filename : /usr/lib64/libXt.so.6


    Only libXp.so.6 failed.. But still RPM fails with same error..

  10. #10
    Just Joined!
    Join Date
    Dec 2011
    Posts
    35
    Dude pls tell us whats the output of the following command?????



    #yum install openmotif21

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •