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
Spectrum running on Linux
Perl libraries related issues after OS upgrade
First, we realised there was 2 versions of Socket module in conflict
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.
Test:
Temporarily move the conflicting modules:
sudo mv /usr/local/lib64/perl5 /usr/local/lib64/perl5.obsolete
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.
Reinstall the module cleanly:
sudo dnf install perl-IO-Tty
Or, if you prefer CPAN:
sudo cpan IO::Tty