/tmp/OraInstall2066-66-66_10-23-43AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

yum install -y compat-gcc* compat-glibc* compat-libstd*
64位操作系统,glibc,libXp,unixODBC,unixODBC-devel这些软件32位的包也需要安装

 

yum install libXp.i686 libXt.i686 libXtst.i686 libXpm-devel.i686 libaio-devel.i686  glibc-devel.i686 libstdc++-devel.i686 compat-libstdc++-33.i686

----------------------------------------------------------------------------------------------------------------------

 ftp://ftp.monash.edu/pub/linux/CentOS/5.5/os/i386/CentOS/

ftp://ftp.muug.mb.ca/mirror/centos/6.4/os/i386/Packages/

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3  elfutils-libelf-0.125  elfutils-libelf-devel-0.125
elfutils-lib
elf-devel-static-0.125
gcc-4.1.2gcc-c++-4.1.2
glibc-2.5-24
glibc-common-2.5
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
ksh-20060214libaio-0.3.106
libaio-devel-0.3.106 libgcc-4.1.2 libgomp-4.1.2    libstdc++-4.1.2 libstdc++-devel-4.1.2   make-3.81   sysstat-7.0.2
unixODBC-2.2.11   unixODBC-devel-2.2.11    binutils-2.17.50.0.6     compat-libstdc++-33-3.2.3
elfutils-libelf-0.125   elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2gcc-c++-4.1.2
glibc-2.5-24    glibc-common-2.5   glibc-devel-2.5  
glibc-headers-2.5
kernel-headers-2.6.18 ksh-20060214libaio-0.3.106libaio-devel-0.3.106 libgcc-4.1.2libgomp-4.1.2libstdc++-4.1.2 libstdc++-devel-4.1.2make-3.81sysstat-7.0.2unixODBC-2.2.11unixODBC-devel-2.2.11

============================================

Download mirrors for glibc-devel-2.5-49.i386.rpm (2.00 MB):

2010-04-25  ftp://ftp.monash.edu/pub/linux/CentOS/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.monash.edu/pub/linux/CentOS/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.ics.uci.edu/pub/centos0/mirror/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.ics.uci.edu/pub/centos0/mirror/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.uni-koeln.de/mirrors/centos/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-26  ftp://ftp.uni-koeln.de/mirrors/centos/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.filesystems.org/mirrors/os/linux/centos/CentOS-5.5-i386-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.filesystems.org/mirrors/os/linux/centos/CentOS-5.5-x86_64-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.fsl.cs.sunysb.edu/mirrors/os/linux/centos/CentOS-5.5-i386-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.fsl.cs.sunysb.edu/mirrors/os/linux/centos/CentOS-5.5-x86_64-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm
2011-01-19  ftp://ftp.hosteurope.de/mirror/autoinstall.plesk.com/PPSMBE_10.2.0/update-rpm-CentOS-5-i386/glibc-devel-2.5-49.i386.rpm
2011-01-19  ftp://ftp.hosteurope.de/mirror/autoinstall.plesk.com/PPSMBE_10.2.0/update-rpm-CentOS-5-x86_64/glibc-devel-2.5-49.i386.rpm
2011-01-20  ftp://ftp.hosteurope.de/mirror/autoinstall.plesk.com/PSA_9.5.2/update-rpm-CentOS-5-i386/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.hosteurope.de/mirror/centos.org/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.hosteurope.de/mirror/centos.org/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ringtail.its.monash.edu.au/pub/linux/CentOS/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ringtail.its.monash.edu.au/pub/linux/CentOS/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.pdc.kth.se/pub/bambi/centos/5.5/os/i386/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.pdc.kth.se/pub/bambi/centos/5.5/os/x86_64/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.am-utils.org/mirrors/os/linux/centos/CentOS-5.5-i386-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm
2010-04-25  ftp://ftp.am-utils.org/mirrors/os/linux/centos/CentOS-5.5-x86_64-Mounted/CentOS/glibc-devel-2.5-49.i386.rpm

 

================================================

#yum -y  install libXt.i686

#yum -y  install libXtst.i686

[root@d usr]# yum -y install libXp.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.hustunique.com
Setting up Install Process
Package libXp-1.0.0-15.1.el6.i686 already installed and latest version
Nothing to do

[root@d usr]# yum install libXp.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.hustunique.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXp.i686 0:1.0.0-15.1.el6 will be installed
--> Processing Dependency: libXext.so.6 for package: libXp-1.0.0-15.1.el6.i686
--> Processing Dependency: libXau.so.6 for package: libXp-1.0.0-15.1.el6.i686
--> Processing Dependency: libX11.so.6 for package: libXp-1.0.0-15.1.el6.i686
--> Running transaction check
---> Package libX11.i686 0:1.5.0-4.el6 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.5.0-4.el6.i686
---> Package libXau.i686 0:1.0.6-4.el6 will be installed
---> Package libXext.i686 0:1.3.1-2.el6 will be installed
--> Running transaction check
---> Package libxcb.i686 0:1.8.1-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================
 Package                          Arch                          Version                                 Repository                     Size
============================================================================================================================================
Installing:
 libXp                            i686                          1.0.0-15.1.el6                          base                           22 k
Installing for dependencies:
 libX11                           i686                          1.5.0-4.el6                             base                          590 k
 libXau                           i686                          1.0.6-4.el6                             base                           24 k
 libXext                          i686                          1.3.1-2.el6                             base                           34 k
 libxcb                           i686                          1.8.1-1.el6                             base                          114 k

Transaction Summary
============================================================================================================================================
Install       5 Package(s)

Total download size: 785 k
Installed size: 1.9 M
Is this ok [y/N]: y

 

 [root@d Desktop]# xhost +
access control disabled, clients can connect from any host
[root@duanxinora Desktop]# su - oracle
[oracle@d ~]$ export DISPLAY=:0.0
[oracle@d ~]$ xhost +
No protocol specified
xhost:  unable to open display ":0.0"
[oracle@d ~]$

 

====================

参考地址:

http://blog.sina.com.cn/s/blog_60b7a5a30101bus9.html

 

 

 

 

 

posted @ 2013-07-31 10:29  陳聽溪  阅读(542)  评论(0)    收藏  举报