最新版を利用したくてソースコンパイルするときに、ライブラリが足りないとエラーになることがあります。
該当のライブラリがどのパッケージに含まれているか調べるコマンドをよく忘れるので、メモします。
例)足りない「libXm.so.3」がどのパッケージに含まれているか探す
$ yum whatprovides libXm.so.3
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: rsync.atworks.co.jp
* extras: rsync.atworks.co.jp
* updates: rsync.atworks.co.jp
openmotif22-2.2.3-20.i386 : Open Motif runtime libraries and executables
Repo : base
Matched from:
Other : libXm.so.3
openmotif22-2.2.3-18.i386 : Open Motif runtime libraries and executables
Repo : installed
Matched from:
Other : Provides-match: libXm.so.3
答)openmotif22に含まれている