Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
perl install – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Mon, 12 Dec 2016 06:47:52 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何解決 centos 6 裡的perl 程式執行出現 Can’t locate Compress/Zlib.pm 的錯誤問題 https://blog.unethost.com/how_to_fix_centos6_perl_issue_cant-locate-compress-zlib-pm/ Mon, 12 Dec 2016 06:41:20 +0000 http://blog.unethost.com/?p=4184 閱讀全文 如何解決 centos 6 裡的perl 程式執行出現 Can’t locate Compress/Zlib.pm 的錯誤問題]]> 今天在centos 6 裡安裝 perl 的套件,當啟動服務後,
出現 Can’t locate Compress/Zlib.pm,其他還有很多錯誤碼,
但這是解決這個問題的關鍵字。

然而這個zlib函式庫的問題,跟centos本身是無關的,
所以從yum安裝其他套件去補是無解的,這得從perl內著手去解決,
perl現在大眾使用不多(相對於php),也是因為解法太冷門,
我們翻到10年前的文章才有取得這個解法,所以特地記錄一下。

如何解決:

perl 的問題,由perl解決

1.在linux shell 底下執行下列語法,會進入perl shell:

perl -MCPAN -e shell

2.perl shell 裡安裝 Bundle::CPAN:

install Bundle::CPAN

3.安裝完成後,就解掉這個問題了。

以下則是

額外的參考文章:
http://marc.info/?l=webmin-l&m=115653987106120
http://search.cpan.org/~andk/Bundle-CPAN-1.862/CPAN.pm

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。

]]>