티스토리 뷰

반응형

Oracle에 이어 Informix도 Red Hat 계열의 리눅스인 Rocky Linux 8 환경에서 설치해봤습니다.

결과부터 말씀드리면 IBM 문서에는 Red Hat 8 환경에서 Informix 14 버전부터 지원된다고 나와있지만 12.10 버전도 설치 가능했습니다.

 

그러면 설치중에 발생한 오류메시지와 해결방법에 대해 정리해보겠습니다.

14 초기 버전에서도 설치중에 동일한 이슈가 있다니 참고하시면 좋을 것 같습니다.

 

먼저 Red Hat 8 버전에서의 Informix 설치 요구사항을 살펴보면 아래 OS 패키지들을 설치하라고 하네요.

필요 패키지  
libaio-0.3.110
libgcc_s1-8.2.1
libstdc++6-8.2.1
ncurses-utils-6.1-7
pam-1.3.1-4
elfutils-libelf-0.174-6
ksh
 

패키지명이 libstdc++6으로 표시되어 있어서 헷갈릴 수 있는데 실제로는 libstdc++ 패키지를 의미합니다. 6은 라이브러리 버전으로 보이네요.

[root@localhost 0333]# rpm -qa | grep libstdc++
libstdc++-8.5.0-18.el8.x86_64
libstdc++-8.5.0-18.el8.i686
[root@localhost 0333]# ls -l /usr/lib64/libstdc*
lrwxrwxrwx. 1 root root      18 Mar  6  2015 /usr/lib64/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x. 1 root root  830776 Mar  6  2015 /usr/lib64/libstdc++.so.5.0.7
lrwxrwxrwx. 1 root root      19 Dec 24 17:58 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.25
-rwxr-xr-x. 1 root root 1661424 Dec 24 18:01 /usr/lib64/libstdc++.so.6.0.25

이제 인스톨러를 실행했을 때 오류 두가지를 살펴보겠습니다.

 

1. Failed to load module "canberra-gtk-module"

인스톨러를 실행하니 gtk 라이브러리를 로드할 수 없다는 오류 메시지가 보입니다. 경고성 메시지 같은데 설치에는 지장이 없습니다.

[root@localhost informix_install]# ./ids_install 
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Gtk-Message: 23:31:51.070: Failed to load module "canberra-gtk-module"

관련 키워드로 검색해보니 gtk 32비트용 라이브러리가 설치되지 않아서 오류 메시지가 발생한다고 합니다. 아래 명령으로 설치할 수 있습니다.

더보기

yum install libcanberra-gtk-module.so

또는 인스톨러 실행에는 지장이 없으므로 무시해도 됩니다.

 

2. libncurses.so.5 라이브러리 오류

인스톨러 프로그램이 사전 요구사항을 체크하는 과정에서 ncurses 라이브러리 5버전을 찾는 것 같습니다.

Prerequisite Verification Check
-------------------------------

One or more prerequisite system libraries are not installed on your computer.
Install libncurses.so.5 and then restart the IBM Informix installation 
program.

The installation cannot succeed until the minimum requirements are met. For
more information about the prerequisites, see your Installation Guide or check
with your System Administrator.

PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):

Red Hat 버전이 8로 업그레이드 되면서 ncurses 라이브러리가 6버전만 있네요.

[root@localhost informix_install]# ls -l /usr/lib64/libncurses*
lrwxrwxrwx. 1 root root     17 Oct 13  2021 /usr/lib64/libncurses.so.6 -> libncurses.so.6.1
-rwxr-xr-x. 1 root root 180240 Oct 13  2021 /usr/lib64/libncurses.so.6.1
lrwxrwxrwx. 1 root root     18 Oct 13  2021 /usr/lib64/libncursesw.so.6 -> libncursesw.so.6.1
-rwxr-xr-x. 1 root root 255040 Oct 13  2021 /usr/lib64/libncursesw.so.6.1

IBM 문서에서는 아래와 같이 symbolic link를 생성하는 workaround를 제시하고 있습니다.

cd /usr/lib64
ln -s /usr/lib64/libncurses.so.6.1 libncurses.so.5
ln -s /usr/lib64/libtinfo.so.6.1 libtinfo.so.5

https://www.ibm.com/support/pages/apar/IT32637

 

IT32637: FAILURE IN INSTALL OF IDS 14.10.FC3 ON RHEL 8 WITH LIBNCURSES.SO.5

IT32637: FAILURE IN INSTALL OF IDS 14.10.FC3 ON RHEL 8 WITH LIBNCURSES.SO.5

www.ibm.com

위 두가지 오류를 제외하면 오류없이 설치 완료됩니다.

반응형
댓글