以下の内容はhttps://syossan.hateblo.jp/entry/2014/04/22/163340より取得しました。


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

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コマンドを実行すると以下の様なエラーが

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が使えるようになりました。
やったぜ



posted with amazlet at 14.04.22
技術評論社 (2014-04-01)
売り上げランキング: 1,702




以上の内容はhttps://syossan.hateblo.jp/entry/2014/04/22/163340より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14