리눅스에서 설치 진행시 나오는 오류.
CentOS 6.7에 JRE 5 설치 하는데, 오류 난다. 버전이 안 맞아서 그런가 - oracle.com 에서는 정식 지원하지 않는다 - 하며 구글링, 패키지 설치.
Extracting...
./jre-1_5_0_22-linux-i586.bin: ./install.sfx.2209: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
./jre-1_5_0_22-linux-i586.bin: line 613: cd: jre1.5.0_22: No such file or directory
# yum -y install glibc.i686
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.kaist.ac.kr
* extras: ftp.nara.wide.ad.jp
* updates: ftp.kaist.ac.kr
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.192.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.192.el6 for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.192.el6.i686
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.166.el6 will be updated
--> Processing Dependency: glibc-common = 2.12-1.166.el6 for package: glibc-2.12-1.166.el6.x86_64
---> Package glibc-common.x86_64 0:2.12-1.192.el6 will be an update
--> Processing Dependency: tzdata >= 2015g-4 for package: glibc-common-2.12-1.192.el6.x86_64
---> Package nss-softokn-freebl.x86_64 0:3.14.3-22.el6_6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 will be installed
---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8 will be an update
--> Running transaction check
---> Package glibc.x86_64 0:2.12-1.166.el6 will be updated
---> Package glibc.x86_64 0:2.12-1.192.el6 will be an update
---> Package tzdata.noarch 0:2015e-1.el6 will be updated
---> Package tzdata.noarch 0:2016h-1.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================
Package Arch Version Repository Size
====================================================================
Installing:
glibc i686 2.12-1.192.el6 base 4.4 M
Installing for dependencies:
nss-softokn-freebl i686 3.14.3-23.3.el6_8 updates 157 k
Updating for dependencies:
glibc x86_64 2.12-1.192.el6 base 3.8 M
glibc-common x86_64 2.12-1.192.el6 base 14 M
nss-softokn-freebl x86_64 3.14.3-23.3.el6_8 updates 168 k
tzdata noarch 2016h-1.el6 updates 451 k
Transaction Summary
====================================================================
Install 2 Package(s)
Upgrade 4 Package(s)
Total download size: 23 M
Downloading Packages:
(1/6): glibc-2.12-1.192.el6.i686.rpm | 4.4 MB 00:01
(2/6): glibc-2.12-1.192.el6.x86_64.rpm | 3.8 MB 00:00
(3/6): glibc-common-2.12-1.192.el6.x86_64.rpm | 14 MB 00:03
(4/6): nss-softokn-freebl-3.14.3-23.3.el6_8.i686.rpm | 157 kB 00:00
(5/6): nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm | 168 kB 00:00
(6/6): tzdata-2016h-1.el6.noarch.rpm | 451 kB 00:00
-----------------------------------------------------------------------------------------------------------------
Total 3.2 MB/s | 23 MB 00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : tzdata-2016h-1.el6.noarch 1/10
Updating : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 2/10
Updating : glibc-2.12-1.192.el6.x86_64 3/10
Updating : glibc-common-2.12-1.192.el6.x86_64 4/10
Installing : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 5/10
Installing : glibc-2.12-1.192.el6.i686 6/10
Cleanup : glibc-common-2.12-1.166.el6.x86_64 7/10
Cleanup : glibc-2.12-1.166.el6.x86_64 8/10
Cleanup : nss-softokn-freebl-3.14.3-22.el6_6.x86_64 9/10
Cleanup : tzdata-2015e-1.el6.noarch 10/10
Verifying : tzdata-2016h-1.el6.noarch 1/10
Verifying : glibc-2.12-1.192.el6.i686 2/10
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 3/10
Verifying : glibc-2.12-1.192.el6.x86_64 4/10
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 5/10
Verifying : glibc-common-2.12-1.192.el6.x86_64 6/10
Verifying : glibc-common-2.12-1.166.el6.x86_64 7/10
Verifying : glibc-2.12-1.166.el6.x86_64 8/10
Verifying : nss-softokn-freebl-3.14.3-22.el6_6.x86_64 9/10
Verifying : tzdata-2015e-1.el6.noarch 10/10
Installed:
glibc.i686 0:2.12-1.192.el6
Dependency Installed:
nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8
Dependency Updated:
glibc.x86_64 0:2.12-1.192.el6 glibc-common.x86_64 0:2.12-1.192.el6 nss-softokn-freebl.x86_64 0:3.14.3-23.3.el6_8
tzdata.noarch 0:2016h-1.el6
Complete!
이후 설치 다시 해보니, 잘 된다.
# ./java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
'컴퓨팅 > 리눅스 유닉스' 카테고리의 다른 글
[AIX] 부팅 디스크 순서 변경 (0) | 2018.06.27 |
---|---|
우분투 서버에서 자동 업데이트 끄기 (0) | 2018.06.27 |
CentOS 7.1 방화벽 내리기 (0) | 2018.06.27 |
리눅스 GPT 사용 (parted 설정) (0) | 2018.06.27 |
CentOS 7 hostname 변경 (0) | 2018.06.27 |
CentOS ssh 접속 지연 현상 (0) | 2018.06.27 |
/lib/ld-linux.so.2: bad ELF interpreter (0) | 2018.06.27 |
솔라리스에서 CD 이미지 추출 및 사용 (0) | 2018.06.27 |