将 Perl 5.16 降级到 5.14

将 Perl 5.16 降级到 5.14

我粗心地yum update在 Amazon Linux AMI 上更新了 Perl。现在我的 Movable Type 安装不起作用了。我搜索了一下,但除了将 Perl 降级到 5.14 之外找不到任何解决方案。Perl 的当前版本是 5.16.3

这是 Movable Type 的错误日志。

/usr/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/FCGI/FCGI.so: undefined symbol: Perl_Gthr_key_ptr
defined(@array) is deprecated at /var/www/html/mt/extlib/CGI.pm line 527.
(Maybe you should just omit the defined()?)

我不是 Perl 专家,但是存在一些依赖性问题?因此重写 CGI.pm 文件不是一个选择。

我尝试过 yum downgrade perl但收到依赖项错误。

答案1

你的 FCGI 模块是针对 Perl 5.14 编译的。使用 重新安装它cpan -f -i FCGI

相关内容