{"id":434,"date":"2018-10-17T11:00:57","date_gmt":"2018-10-17T11:00:57","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/arch-linux-news-perl-library-path-change\/"},"modified":"2018-10-17T11:00:57","modified_gmt":"2018-10-17T11:00:57","slug":"arch-linux-news-perl-library-path-change","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/arch-linux-news-perl-library-path-change\/","title":{"rendered":"Arch Linux &#8211; News: Perl library path change"},"content":{"rendered":"<p>The perl package now uses a versioned path for compiled modules. This means<br \/>\nthat modules built for a non-matching perl version will not be loaded any more<br \/>\nand must be rebuilt. <\/p>\n<p>A pacman hook warns about affected modules during the upgrade by showing output<br \/>\nlike this:<\/p>\n<p>WARNING: &#8216;\/usr\/lib\/perl5\/vendor_perl&#8217; contains data from at least 143 packages which will NOT be used by the installed perl interpreter.<br \/>\n -&gt; Run the following command to get a list of affected packages: pacman -Qqo &#8216;\/usr\/lib\/perl5\/vendor_perl&#8217;<\/p>\n<p>You must rebuild all affected packages against the new perl package before you<br \/>\ncan use them again. The change also affects modules installed directly via<br \/>\nCPAN. Rebuilding will also be necessary again with future major perl updates<br \/>\nlike 5.28 and 5.30.<\/p>\n<p>Please note that rebuilding was already required for major updates prior to<br \/>\nthis change, however now perl will no longer try to load the modules and then fail in strange ways.<\/p>\n<p>If the build system of some software does not detect the change automatically,<br \/>\nyou can use perl -V:vendorarch in your PKGBUILD to query perl for the<br \/>\ncorrect path. There is also sitearch for software that is not packaged with<br \/>\npacman.<\/p>\n<p> <a href=\"https:\/\/www.archlinux.org\/news\/perl-library-path-change\/\" target=\"_blank\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The perl package now uses a versioned path for compiled modules. This means that modules built for a non-matching perl version will not be loaded any more and must be rebuilt. A pacman hook warns about affected modules during the upgrade by showing output like this: WARNING: &#8216;\/usr\/lib\/perl5\/vendor_perl&#8217; contains data from at least 143 packages &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/arch-linux-news-perl-library-path-change\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Arch Linux &#8211; News: Perl library path change&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":0,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}