mysql-4.0 から 4.1
2005年10月30日 17:07:43
手順はここから
そこでApacheも再起動?そしたらこんなメッセージ
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /etc/apache2/modules.d/70_mod_php.conf:
Cannot load /usr/lib/apache2/modules/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
MySQLアップデートしたおかげでPHPがライブラリを見失った!
PHPのリビルドだねこりゃ。
# emerge dev-php/php mod_php
ここであんいなアップグレードしていると依存関係が壊れている場合があります。そんときは依存関係も含めビルドしましょう。
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/config.log
!!! ERROR: dev-php/php-4.4.0-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
それじゃMySQLの依存関係はと
# equery depends mysql
[ Searching for packages depending on mysql... ]
dev-libs/cyrus-sasl-2.1.20
dev-perl/DBD-mysql-2.9007
net-dns/bind-9.2.5-r6
net-fs/samba-3.0.14a-r2
net-libs/libwww-5.4.0-r3
net-mail/courier-imap-3.0.8
このへんを適当に一緒にコンパイルしましょう。
修了したらApache再起動