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.
- 05-04-2012 #1Just 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
- 05-04-2012 #2
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.
- 05-04-2012 #3Linux Newbie
- Join Date
- Apr 2012
- Posts
- 112
- 05-04-2012 #4
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.
- 05-04-2012 #5Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 573
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:
So, that first line "glibc-2..." is the package you need to install. The easiest way would bePHP Code:glibc-2.....<big long number here> : The GNU libc librariers
Repo : installed (or uninstalled, in your case)
Matched from:
Other : Provides-match: etc, etc
yum install glibc
Do that for all of your dependencies, then retry the RPM.
- 05-04-2012 #6
Your best bet is to use YUM rather than rpm on its own e.g.
orCode:yum localinstall openmotif21-2.1.30-11.el6.i686.rpm
Code:yum install openmotif21
- 05-05-2012 #7
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.
- 05-05-2012 #8Just 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
- 05-05-2012 #9Just Joined!
- Join Date
- May 2012
- Posts
- 5
[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..
- 05-05-2012 #10Just Joined!
- Join Date
- Dec 2011
- Posts
- 33
Dude pls tell us whats the output of the following command?????
#yum install openmotif21


Reply With Quote

