http://www.perlmonks.org?node_id=11127900

chandantul has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I was unable to install Spreadsheet::ParseXLSX module and i am getting below error. Could you please help me to identify the error and how i can get rid of this issue?

REDHAT_SUPPORT_PRODUCT_VERSION="7.9" -------------- # Failed test 'Spreadsheet/ParseXLSX/Decryptor/Agile.pm loaded ok' # at t/00-compile.t line 40. # got: '512' # expected: '0' Can't locate Crypt/Mode/CBC.pm in @INC (@INC contains: /root/.cpan/bui +ld/Spreadsheet-ParseXLSX-0.27-zhPVoH/blib/arch /root/.cpan/build/Spre +adsheet-ParseXLSX-0.27-zhPVoH/blib/lib /root/.cpan/build/Spreadsheet- +ParseXLSX-0.27-zhPVoH/blib/lib /root/.cpan/build/Spreadsheet-ParseXLS +X-0.27-zhPVoH/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 + /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64 +/perl5 /usr/share/perl5 .) at /root/.cpan/build/Spreadsheet-ParseXLSX +-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor.pm line 7. BEGIN failed--compilation aborted at /root/.cpan/build/Spreadsheet-Par +seXLSX-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor.pm line 7 +. Compilation failed in require at (eval 2) line 2. ...propagated at /usr/share/perl5/base.pm line 84. BEGIN failed--compilation aborted at /root/.cpan/build/Spreadsheet-Par +seXLSX-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor/Agile.pm +line 7. Compilation failed in require at -e line 1. # Failed test 'Spreadsheet/ParseXLSX/Decryptor/Standard.pm loaded ok +' # at t/00-compile.t line 40. # got: '512' # expected: '0' Can't locate Crypt/Mode/CBC.pm in @INC (@INC contains: /root/.cpan/bui +ld/Spreadsheet-ParseXLSX-0.27-zhPVoH/blib/arch /root/.cpan/build/Spre +adsheet-ParseXLSX-0.27-zhPVoH/blib/lib /root/.cpan/build/Spreadsheet- +ParseXLSX-0.27-zhPVoH/blib/lib /root/.cpan/build/Spreadsheet-ParseXLS +X-0.27-zhPVoH/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 + /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64 +/perl5 /usr/share/perl5 .) at /root/.cpan/build/Spreadsheet-ParseXLSX +-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor.pm line 7. BEGIN failed--compilation aborted at /root/.cpan/build/Spreadsheet-Par +seXLSX-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor.pm line 7 +. Compilation failed in require at (eval 2) line 2. ...propagated at /usr/share/perl5/base.pm line 84. BEGIN failed--compilation aborted at /root/.cpan/build/Spreadsheet-Par +seXLSX-0.27-zhPVoH/blib/lib/Spreadsheet/ParseXLSX/Decryptor/Standard. +pm line 7. Compilation failed in require at -e line 1. # Looks like you failed 4 tests of 4. t/00-compile.t ............. Dubious, test returned 4 (wstat 1024, 0x4 +00) Failed 4/4 subtests