I recently upgraded both of my Linux systems from Fedora 28 to 29. A Perl program which previously worked fine on both system now aborts with this error

Can't load '/home/john/perl5/lib/perl5/x86_64-linux-thread-multi/auto/ +XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: libperl.so. +5.26: cannot open shared object file: No such file or directory at /u +sr/lib64/perl5/DynaLoader.pm line 193. at /home/john/perl5/lib/perl5/x86_64-linux-thread-multi/XML/Parser.pm + line 18. Compilation failed in require at /home/john/perl5/lib/perl5/x86_64-lin +ux-thread-multi/XML/Parser.pm line 18. BEGIN failed--compilation aborted at /home/john/perl5/lib/perl5/x86_64 +-linux-thread-multi/XML/Parser.pm line 22. Compilation failed in require at /home/john/perl5/lib/perl5/XML/Twig.p +m line 151. BEGIN failed--compilation aborted at /home/john/perl5/lib/perl5/XML/Tw +ig.pm line 151. Compilation failed in require at /home/john/perl5/lib/perl5/OpenOffice +/OODoc/XPath.pm line 14. BEGIN failed--compilation aborted at /home/john/perl5/lib/perl5/OpenOf +fice/OODoc/XPath.pm line 14. Compilation failed in require at /home/john/perl5/lib/perl5/OpenOffice +/OODoc/Meta.pm line 14. BEGIN failed--compilation aborted at /home/john/perl5/lib/perl5/OpenOf +fice/OODoc/Meta.pm line 14. Compilation failed in require at /home/john/perl5/lib/perl5/OpenOffice +/OODoc.pm line 11. BEGIN failed--compilation aborted at /home/john/perl5/lib/perl5/OpenOf +fice/OODoc.pm line 11. Compilation failed in require at ./cvt_ref_pay.pl line 4. BEGIN failed--compilation aborted at ./cvt_ref_pay.pl line 4.

The file in question (Expat.so) exists in the proper directory. All of my other Perl programs work with no problems after the upgrade. Do the Perl Monks have any ideas?


In reply to Fedora 29 upgrade by JRBJhawk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.