java - unable to install jdk-7u25-linux-i586.rpm on Centos 6 - unpack200 error -


on centos 6, when do

rpm -i jdk-7u25-linux-i586.rpm 

i dozens of messages like:

/usr/java/jdk1.7.0_25/bin/unpack200: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: no such file or directory 

but when do: 'yum install libgcc' get: 'package libgcc-4.4.7-3.el6.x86_64 installed , latest version'
i've tried other jdk packages, such 7.0_21 same result.
should try next?

sounds have 64-bit machine, , you're trying install 32-bit version of java. that, you'll need install libgcc.i686 package 32-bit runtime libraries. not sure why don't have them.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -