Can’t locate XSLoader.pm in @INC (@INC contains:/usr/local/lib64/perl5 /usr/local/share/perl5

Can’t locate XSLoader.pm in @INC (@INC contains:/usr/local/lib64/perl5 /usr/local/share/perl5

Date posted: 30/08/2019

Introduction

As a result, in the Cpanel server as Perl could not recognize that dependency was installed.

Additionally, for instance it will arise problems getting to install correctly using Cpanel’s easyapache.

Error exposed:

Can’t locate XSLoader.pm in @INC (@INC contains: /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 /usr/lib64/perl5/Fcntl.pm line 62.

Solution and Fix:

Threads at Cpanel.net suggested a possible fix was reinstalling Perl.

However, we found that there were missing of Perl module that is provided as part of the core Perl package. Without XSLoader.pm your server can’t load C libraries into Perl.

After that, we can able to reinstall your servers Perl instance using the following command.

yum reinstall perl-5.16.3-294.el7_6.x86_64

Similarly, this way error had fixed !!

Thanks for using pheonix solutions.

You find this tutorial helpful? Share with your friends to keep it alive.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Comment

Scroll to Top