CentOS4にlibXpライブラリを導入
 2007.11.23

CentOS4のLinuxマシンでWeb負荷テストツールのJMerterを使おうと思い,JREをインストールしました.jmeter.sh を起動すると libXp なるライブラリが無い旨のエラー. それじゃ,と早速yumでインストールしようと考え yum install libXp なんてやっても No Match for argument : libXp のつれない返事. CentOSのミラーサイトのRPM置き場探してもlibXpに該当するパッケージは見つかりません‥,まだまだ探す気ですか?それより僕と踊りませんか? Googleで探すとすぐに見つかりました.libXpはxorg-x11-deprecated-libs というパッケージに入っているそうです. #でも CentOS5になると libXp ってパッケージがあるんですよねー.謎です.
[root@sv ~]# yum install -y xorg-x11-deprecated-libs
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-deprecated-libs.i386 0:6.8.2-1.EL.31 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 xorg-x11-deprecated-libs  i386       6.8.2-1.EL.31    update            271 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 271 k
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: xorg-x11-deprecated-libs     ######################### [1/1]

Installed: xorg-x11-deprecated-libs.i386 0:6.8.2-1.EL.31
Complete!
[root@sv ~]# rpm -ql xorg-x11-deprecated-libs
/usr/X11R6/lib/libXp.so.6
/usr/X11R6/lib/libXp.so.6.2
カテゴリー:サーバ管理