Perl CPAN DBD:mysql error - Linux

By Madame
at 2008-06-18T02:16
at 2008-06-18T02:16
Table of Contents
※ 引述《[email protected] (忍法 土遁之術)》之銘言:
: ※ 引述《[email protected] (Stockton and Malone)》之銘言:
: > 本來跑好好的MT 去讀取MySQL
: > 結果最近忽然出現
: > Got an error: install_driver(mysql) failed: Can't load
: > '/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so'
: > for module DBD::mysql: libmysqlclient_r.so.12: cannot open shared object
: ^^^^^^^^^^^^^^^^^^^^^^^
: 我想你應該要先找這個檔案還在不在吧@@?
: > file: No such file or directory at
我在查的時候 我發現我CPAN 的 DBD:mysql 忽然不見了
但是本來都有安裝的
後來安裝 DBD:mysql 的時候
發現需要 mysql_config
查詢之下 需要安裝 mysql-devel 的版本
那是要 MySQL 4.1 以上的版本才有的
不過 我的 MySQL 是4.0.11a
這下就尷尬了
有人知道 我應該裝哪版的 DBI 或是 DBD:mysql 嗎?
--
: ※ 引述《[email protected] (Stockton and Malone)》之銘言:
: > 本來跑好好的MT 去讀取MySQL
: > 結果最近忽然出現
: > Got an error: install_driver(mysql) failed: Can't load
: > '/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so'
: > for module DBD::mysql: libmysqlclient_r.so.12: cannot open shared object
: ^^^^^^^^^^^^^^^^^^^^^^^
: 我想你應該要先找這個檔案還在不在吧@@?
: > file: No such file or directory at
我在查的時候 我發現我CPAN 的 DBD:mysql 忽然不見了
但是本來都有安裝的
後來安裝 DBD:mysql 的時候
發現需要 mysql_config
查詢之下 需要安裝 mysql-devel 的版本
那是要 MySQL 4.1 以上的版本才有的
不過 我的 MySQL 是4.0.11a
這下就尷尬了
有人知道 我應該裝哪版的 DBI 或是 DBD:mysql 嗎?
--
Tags:
Linux
All Comments
Related Posts
ubuntu要如何和XP共用家用網路??

By Yuri
at 2008-06-18T02:16
at 2008-06-18T02:16
每次斷線後重開機無法自動連線

By Poppy
at 2008-06-17T23:18
at 2008-06-17T23:18
筆電的雙螢幕設定

By Enid
at 2008-06-17T15:04
at 2008-06-17T15:04
profile 與 ifconfig 與smbmount

By Belly
at 2008-06-17T12:08
at 2008-06-17T12:08
請問cPanel的售價

By Frederica
at 2008-06-17T09:36
at 2008-06-17T09:36