/var/tmp/rpm-tmp.0MLbCT: line 316: /usr/java/jdk1.5.0_08/bin/unpack200: Accessing a corrupted shared library
Error: unpack could not create /usr/java/jdk1.5.0_08/lib/tools.jar. Please refer to the Troubleshooting
Section of the Installation Instructions on the download page.
warning: %post(jdk-2000:1.5.0_08-fcs.i586) scriptlet failed, exit status 1
系统环境:
rpm -ivh jdk-1_5_0_08-linux-i586.rpm
出现以上错误,默认只安装主架构所需要的包,而不安装兼容架构的包
解决方案:
yum install glibc.i686 安装兼容架构包
重新安装jdk
rpm -qa | grep jdk
rpm -e jdk-1.5.0_08-fcs.i586
rpm -ivh jdk-1_5_0_08-linux-i586.rpm
1
2
3
|
[root@localhost vos3000]
# rpm -ivh jdk-1_5_0_08-linux-i586.rpm
Preparing...
########################################### [100%]
1:jdk
########################################### [100%]
|
本文转自506554897 51CTO博客,原文链接:http://blog.51cto.com/506554897/1901935
,如需转载请自行联系原作者