一直在思考着要记什么,还不能装出很矫情的样子。关于这个虚拟主机在安装MT时的错误,也总在想要不要把它写出来,毕竟没有找到答案的问题总是让人不甘心的。闲话少说,下面是客观描述:

西部数码的LinuxA型虚拟主机,配置应该满足movable type的运行要求。执行mt-check.cgi时,已经显示“ready to go”,但是继续执行mt.cgi进行安装时,则出现这样的错误:

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.so.10: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn’t installed where expected
at lib/MT/ObjectDriver/DBI/mysql.pm line 96

当目录中不存在mt-config.cgi时,可以通过运行mt-wizard.cgi来设置,在此过程中,输入mt-static文件夹的路径之后,显示:

Movable Type Configuration Wizard
Step 1 of 3 — Requirements Check
The following optional, feature-enhancing Perl modules could not be found. You may install them now and click ‘Retry’ or simply continue without them. They can be installed at any time if needed.
Missing Optional Packages

* Image::Magick is optional; It is needed if you would like to be able to create thumbnails of uploaded images.
* Crypt::DSA is optional; if it is installed, comment registration sign-ins will be accelerated.
* DBI and DBD::mysql are required if you want to use the MySQL database backend.
* DBI and DBD::Pg are required if you want to use the PostgreSQL database backend.
Minimal version requirement:1.32
* DBI and DBD::SQLite are required if you want to use the SQLite database backend.
* DBI and DBD::SQLite2 are required if you want to use the SQLite2 database backend.

其中

DBI and DBD::mysql are required if you want to use the MySQL database backend.

这一提示和mt-check.cgi的结果有冲突。续上一步continue之后,选择数据库时只有BerkeleyDB Database的选项,而没有Mysql。

由于时间、精力和水平有限,没有执著于MovableType, 选择了Wordpress。

在这期间联系过西部数码,服务不错,基本上没有给人敷衍的感觉,只是对于需求的回应无法验证是否真的执行罢了。

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit exceeded. Please complete the captcha once again.

 

Back to Top