Zabbix 커뮤니티 포럼에 등록된 게시물(http://www.zabbix.com/forum/showthread.php?t=25238) 중에 
TSM(Tivoli Storage Manager) 을 모니터링 할 수 있는 스크립트 및 템플릿 자료가 있어 안내대로 설치를 진행하다가
Zabbix 서버에 TSM Client 를 인스톨 하는 순간 아래와 같이 libstdc++ 관련 라이브러리 오류가 발생한다.


# rpm -Uvh TIVsm-API.i386.rpm
오류: Failed dependencies:
        libstdc++.so.5 is needed by TIVsm-API-5.4.3-0.i386
        libstdc++.so.5(CXXABI_1.2) is needed by TIVsm-API-5.4.3-0.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by TIVsm-API-5.4.3-0.i386
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by TIVsm-API-5.4.3-0.i386



관련하여 libstdc 관련 라이브러리가 기 설치되어 있는지 조회해보니 있긴 있다.
(참고로, Zabbix 서버의 OS 는 Fedora 14 ..)

# rpm -qa |grep libstdc*
libstdc++-4.5.1-4.fc14.i686



구글에서 찾아보니,,
리눅스 환경에서 오라클 설치시 자주 발생하는 오류인 듯 한데,
libstdc 라이브러리가 아예 없거나 있어도 버전이 맞지 않아 그럴것 이라는 내 나름대로 결론!!


1. 일단 yum 레파지토리(저장소) 에서 compat-libstdc 관련 라이브러리가 있는지 조회
# yum list compat-libstdc*
Loaded plugins: langpacks, presto, refresh-packagekit
Adding ko_KR to language list
Available Packages
compat-libstdc++-296.i686                                            2.96-143                                            fedora
compat-libstdc++-33.i686                                             3.2.3-68                                            fedora


2. yum 을 통해 compat-libstdc++-33.i686 라이브러리 인스톨
# yum install compat-libstdc++-33.i686
Loaded plugins: langpacks, presto, refresh-packagekit
Adding ko_KR to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i686 0:3.2.3-68 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================
 Package                                Arch                    Version                        Repository                 Size
================================================================================================================
Installing:
 compat-libstdc++-33                    i686                    3.2.3-68                       fedora                    176 k

Transaction Summary
================================================================================================================
Install       1 Package(s)

Total download size: 176 k
Installed size: 716 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 176 k
compat-libstdc++-33-3.2.3-68.i686.rpm                                                                   | 176 kB     00:02    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : compat-libstdc++-33-3.2.3-68.i686                                                                       1/1

Installed:
  compat-libstdc++-33.i686 0:3.2.3-68                                                                                         

Complete!


3. 라이브러리가 잘 설치되었는지 확인
# rpm -qa |grep libstdc*
libstdc++-4.5.1-4.fc14.i686
compat-libstdc++-33-3.2.3-68.i686


4. 미리 준비한 TSM Client 관련 파일 3개를 차례대로 인스톨 (libstdc++ 오류 없이 인스톨 성공!!)
# rpm -Uvh TIVsm-API.i386.rpm
준비 중...               ########################################### [100%]
   1:TIVsm-API              ########################################### [100%]
Postinstall of the API

TSM Linux API installation complete.

Be sure to set up the configuration files!
#
#
# rpm -Uvh TIVsm-BA.i386.rpm
준비 중...               ########################################### [100%]
   1:TIVsm-BA               ########################################### [100%]
Postinstall of the Backup Archive client

TSM Linux client installation complete.

Be sure to set up the system configuration file
before starting the client!
#
#
# rpm -Uvh TIVsm-msg.ko_KR.i386.rpm
준비 중...               ########################################### [100%]
   1:TIVsm-msg.ko_KR        ########################################### [100%]
#
#
# rpm -qa |grep TIV
TIVsm-BA-5.4.3-0.i386
TIVsm-API-5.4.3-0.i386
TIVsm-msg.ko_KR-5.4.3-0.i386


+ Recent posts