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?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|