一:问题描述
今天给oracle配监听的时候报错:
netca /silent /responseFile /download/database_10g_64/response/netca.rsp
Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.so: libXp.so.6
[root@ser6-66 ~]# rpm -qa libXp
libXp-1.0.2-2.1.el6.x86_64
二:出错原因
没有安装32位的libXp.so.6
三:解决办法
安装32位的libXp.so.6
#先查看一下关于libXp的安装包
[root@ser6-66 ~]# yum search libXp Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.163.com * epel: ftp.riken.jp * extras: mirrors.163.com * updates: mirrors.btte.net ========================================================================================== N/S Matched: libXp =========================================================================================== libXp.i686 : X.Org X11 libXp runtime library libXp.x86_64 : X.Org X11 libXp runtime library libXp-devel.i686 : X.Org X11 libXp development package libXp-devel.x86_64 : X.Org X11 libXp development package libXpm.i686 : X.Org X11 libXpm runtime library libXpm.x86_64 : X.Org X11 libXpm runtime library libXpm-devel.i686 : X.Org X11 libXpm development package libXpm-devel.x86_64 : X.Org X11 libXpm development package Name and summary matches only, use "search all" for everything.
yum install -y libXp.i686