{"id":5023,"date":"2019-08-30T09:55:58","date_gmt":"2019-08-30T04:25:58","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5023"},"modified":"2019-08-30T11:47:57","modified_gmt":"2019-08-30T06:17:57","slug":"solved-cant-locate-xsloader-pm-in-inc-inc-contains-usr-local-lib64-perl5-usr-local-share-perl5","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/solved-cant-locate-xsloader-pm-in-inc-inc-contains-usr-local-lib64-perl5-usr-local-share-perl5\/","title":{"rendered":"Can\u2019t locate XSLoader.pm in @INC (@INC contains:\/usr\/local\/lib64\/perl5 \/usr\/local\/share\/perl5"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Can\u2019t locate XSLoader.pm in @INC (@INC contains:\/usr\/local\/lib64\/perl5 \/usr\/local\/share\/perl5 <\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Date posted: 30\/08\/2019<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Introduction<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">As a result,  in the Cpanel server as Perl could not recognize that dependency was installed. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, for instance it will arise problems getting to install correctly using Cpanel&#8217;s easyapache. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Error exposed:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Can\u2019t 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.<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Solution and Fix:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Threads at Cpanel.net suggested a possible fix was reinstalling Perl.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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\u2019t load C libraries into Perl.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After that, we can able to reinstall your servers Perl instance using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum reinstall perl-5.16.3-294.el7_6.x86_64<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, this way error had fixed !!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You find this tutorial helpful? Share with your friends to keep it alive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can\u2019t 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[263,707,708],"class_list":["post-5023","post","type-post","status-publish","format-standard","hentry","category-cloud-aws","tag-cpanel","tag-perl-module","tag-xsloader-pm-missing","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1j1","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5023"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5023\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}