LoginSignup
10
10

More than 5 years have passed since last update.

CentOS6.5にHHVMを入れる時のTips

Posted at

CentOS6.5にHHVM入れようとしたら見事にyumさんが言うことを聞かなくなったので、解決メモ

何が起こったか?

色んなインストールガイド的記事で書かれてるように

$ yum install http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ yum upgrade
$ cd /etc/yum.repos.d/
$ wget http://www.hop5.in/yum/el6/hop5.repo
$ yum install hhvm

ってやったところ以下のエラーが出た。

Error: Package: gnote-0.6.3-3.el6.x86_64 
                (@anaconda-CentOS-201311272149.x86_64/6.5)
           Requires: libboost_filesystem-mt.so.5()(64bit)
           Removing: boost-filesystem-1.41.0-18.el6.x86_64 
                     (@anaconda-CentOS-201311272149.x86_64/6.5)
                     libboost_filesystem-mt.so.5()(64bit)
           Updated By: boost-filesystem-1.54.0-7.el6.x86_64 (hop5)
           Not found
Error: Package: gnote-0.6.3-3.el6.x86_64 
                (@anaconda-CentOS-201311272149.x86_64/6.5)
           Requires: libboost_system-mt.so.5()(64bit)
           Removing: boost-system-1.41.0-18.el6.x86_64 
                     (@anaconda-CentOS-201311272149.x86_64/6.5)
                     libboost_system-mt.so.5()(64bit)
           Updated By: boost-system-1.54.0-7.el6.x86_64 (hop5)
           Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

(#^ω^)ビキビキ

どう対応したか?

結局のところgnoteが邪魔してるっぽいので削除しよーってことで以下のコマンド

yum remove gnote

その後hhvmコマンドを実行すると以下の様なエラーが

hhvm: error while loading shared libraries: liblcms2.so.2: cannot open shared object file: No such file or directory

ライブラリがないって言ってますね。
ってなわけでliblcms2.so.2の64bitライブラリを追加する作業を行います。

wget http://pkgrepo.linuxtech.net/el6/release/x86_64/liblcms2-2.4-1.el6.x86_64.rpm
yum install liblcms2-2.4-1.el6.x86_64.rpm

これでなんとかhhvmが使えるようになりました。

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10