LoginSignup
8
2

More than 5 years have passed since last update.

【初心者級】libtidy-0.99.so.0がない! centos7のphp7でphpMyadmin入れようとしたら(略

Last updated at Posted at 2016-07-20

表題のとおり。
libtidy-0.99.so.0なかった人向け。
今回はwebサイトからダウンロードして使えるようにするパターンとなります。

方法
http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libtidy-0.99.so.0()(64bit)
から自分の環境に近そうなリンクをクリック※私のときは一覧にCetnos7がなかったので一番上のOtherにしました。(下のほうにCentOS Otherもありましたが2008年ってえらく古かったので)
次に飛び先のページの

>Download 
>ftp.pbone.net     tidy-0.99.0-1.ram0.99.x86_64.rpm

のところにftpのリンク(rpmファイル)を張ってくれてるのでアドレスをコピー。
コンソールにて、
「# wget コピーしてきたアドレス
としてファイルをダウンロードします。
例)

$ sudo wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/r/ra/ramonelinux/Rel_0.99/releases/x86_64/packages/tidy-0.99.0-1.ram0.99.x86_64.rpm

ダウンロードが完了したらrpmコマンドでインストールします。
例)

$ sudo rpm -Uvh tidy-0.99.0-1.ram0.99.x86_64.rpm

以上でlibtidy-0.99.so.0の入手は完了です。

このあとphpMyadmin入れてみたらすんなり入りました。


以下は蛇足です。

経緯
centos7にphp7を入れ、phpMyadminを入れようとしたら、エラー発生。(phpの古いバージョンに突撃して失敗してるようなログが大量に。それにまぎれてlibtidy-0.99.so.0がなさそうなレポートログもあり。)レンタルサーバーとローカルのヴァーチャル環境でも同様の症状が発生、つまり事例が少なくとも2件、ので結構あるのかと思いきや、「libtidy-0.99.so.0 ない」などの検索をするもクリティカルなものに出会えずでした。ので一応記事を立てておこうとなったしだいです。

以下は単なるエラーログのこぴぺです。
検索で流れてくる人がいるかもなので貼っておきます。(phpMyadmin入れようとして引っかかったときのログ)

Error: Package: php-xml-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.45-10.el7.remi
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-common(x86-64) = 7.0.8-1.el7.remi
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-common(x86-64) = 5.4.16-36.el7_1
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-9.el7.remi
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-10.el7.remi
Error: Package: phpMyAdmin-4.4.15.7-1.el7.remi.noarch (remi)
           Requires: php-zip
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-zip
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-zip
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-zip
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-zip
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               Not found
Error: Package: phpMyAdmin-4.4.15.7-1.el7.remi.noarch (remi)
           Requires: php-simplexml
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-simplexml
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-simplexml
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-simplexml
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-simplexml
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               Not found
Error: Package: php-tidy-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: libtidy-0.99.so.0()(64bit)
Error: Package: php-mysql-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-pdo(x86-64) = 5.4.45-10.el7.remi
           Installed: php-pdo-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-pdo(x86-64) = 7.0.8-1.el7.remi
           Available: php-pdo-5.4.16-36.el7_1.x86_64 (base)
               php-pdo(x86-64) = 5.4.16-36.el7_1
           Available: php-pdo-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-pdo(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-pdo-5.4.45-9.el7.remi.x86_64 (remi)
               php-pdo(x86-64) = 5.4.45-9.el7.remi
           Available: php-pdo-5.4.45-10.el7.remi.x86_64 (remi)
               php-pdo(x86-64) = 5.4.45-10.el7.remi
Error: Package: php-process-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.45-10.el7.remi
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-common(x86-64) = 7.0.8-1.el7.remi
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-common(x86-64) = 5.4.16-36.el7_1
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-9.el7.remi
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-10.el7.remi
Error: Package: php-bcmath-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.45-10.el7.remi
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-common(x86-64) = 7.0.8-1.el7.remi
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-common(x86-64) = 5.4.16-36.el7_1
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-9.el7.remi
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-10.el7.remi
Error: Package: php-phpseclib-2.0.2-1.el7.remi.noarch (remi)
           Requires: php-gmp
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-gmp
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-gmp
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-gmp
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-gmp
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               Not found
Error: Package: php-tidy-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.45-10.el7.remi
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-common(x86-64) = 7.0.8-1.el7.remi
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-common(x86-64) = 5.4.16-36.el7_1
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-9.el7.remi
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-10.el7.remi
Error: Package: php-recode-5.4.45-10.el7.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.45-10.el7.remi
           Installed: php-common-7.0.8-1.el7.remi.x86_64 (@remi-php70)
               php-common(x86-64) = 7.0.8-1.el7.remi
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php-common(x86-64) = 5.4.16-36.el7_1
           Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-36.1.el7_2.1
           Available: php-common-5.4.45-9.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-9.el7.remi
           Available: php-common-5.4.45-10.el7.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.45-10.el7.remi
8
2
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
8
2