Hello all.
We have a lab application running on RHEL 6 with poor vendor support that started having issues after applying the latest OS patches.

Here's the error encountered when we try to start the app:
Can't load '/home/test/lib/aarch4p.so' for module aarch4p: /home/test/lib/aarch4p.so: wrong ELF class: ELFCLASS64 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. at /home/test/bin/startup line 54

Line 54 of the startup script is simply "use aarch4p;"
And line 230 (and 231) of the DynaLoader.pm file is:
my $libref = dl_load_file($file, $module->dl_load_flags) or
croak("Can't load '$file' for module $module: ".dl_error());

I'm certain some shared object/library/file updated as part of the OS patching is the source of the problem but I'm not sure where to begin looking.
I'm not a Perl expert by any stretch of the imagination so if you are gracious enough to reply, please be as explicit as possible.
I realize I haven't provided much information here but any suggestions on where to look for the source of the issue would really be appreciated.
Thanks all.

In reply to Vendor program can't load *.so file after OS patching by c01362

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.