Error performing backup after upgrading the Red Hat Linux operating system from 7.9 to 8.10
search cancel

Error performing backup after upgrading the Red Hat Linux operating system from 7.9 to 8.10

book

Article ID: 401843

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

Capture Error:

The Operation failed.
Capture Running Script Returned Error [127]: /SPECTRUM/Spectrum/bin/perl: symbol lookup error:
/usr/local/lib64/perl5/auto/IO/Tty/Tty.so: undefined symbol: Perl_xs_apiversion_bootcheck

Environment

Spectrum running on Linux

Cause

Perl libraries related issues after OS upgrade

Resolution

First, we realised there was 2 versions of Socket module in conflict

  • One installed via perl-Socket installed under /usr/lib64/perl       <<< This was updated with OS upgrade
  • Another compiled manually under /usr/local/lib64/perl               <<< This was compiled in old OS

Perl searches first in /usr/local/lib64/perl causing the problem.

Removing the files related to Socket module under /usr/local/lib64/perl fixes the issues related to Socket.so errors

In parallel, the customer recompiled IO::Tty module manually and installed it.

Additional Information

Test:

  1. Temporarily move the conflicting modules:

    sudo mv /usr/local/lib64/perl5 /usr/local/lib64/perl5.obsolete
    
  2. Test again:

    /usr/bin/perl -MIO::Tty -e 'print IO::Tty->VERSION . "\n"'
    

    If it now says Can't locate IO/Tty.pm, that’s good — it means the broken .so file is no longer interfering.

  3. Reinstall the module cleanly:

    bash
    sudo dnf install perl-IO-Tty
    

    Or, if you prefer CPAN:

    bash
    sudo cpan IO::Tty