Perl version incompatibility

0

On executing perl application it throws error. Encode version 2.87 required--this is only version 2.51 at /usr/local/share/perl5/Email/MIME/ContentType.pm line 7 How to upgrade Perl-Encode module to 2.87? on Amazon Linux 2

  • Could you provide more information about where you're executing this? Is it an EC2 instance? What operating system? What operating system version? More importantly: What are you trying to do? You might also search the Perl archives for how to upgrade libraries.

  • Yes I was trying to install a perl application on EC2 instance but when I try to yum update perl I get the following error amzn2-core | 3.7 kB 00:00:00 281 packages excluded due to repository priority protections No packages marked for update

    Even when I try to force update it throws up error even when set down to a specific version! Any help truly appreciated.

질문됨 2년 전292회 조회
1개 답변
0

As with most Linux-based operating systems, there are thousands (maybe millions!) of libraries out there that are not going to be the right version that you require for your application. It's not possible to build a distribution that has the latest "everything"; and that doesn't include cases where might want an earlier library for compatibility reasons.

I'd suggest using CPAN to install the Perl dependencies that you require.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠