Napp-it error in auto.pl

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

manxam

Active Member
Jul 25, 2015
234
50
28
I just received a local mail upon login to my OmniOS server running Napp-it pro 17.04 dev:
Code:
ld.so.1: perl: fatal: relocation error: file /var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so: symbol Perl_xs_apiversion_bootcheck: referenced symbol not found
I have seen this thread : [SOLVED] OmniOS r151021 (latest Bloody) and napp-it: Tty.so Perl error on admin.pl but it states that it was fixed in 17.01 for 021 bloody. I'm running 17.04 dev and 022 lts.

Attempting to run this manually results in:
Code:
perl /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl
Can't load '/var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so' for module IO::Tty: ld.so.1: perl: fatal: /var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so: wrong
 ELF class: ELFCLASS32 at /opt/local/lib/perl5/5.22.0/x86_64-solaris-thread-multi-64/DynaLoader.pm line 193.
 at /var/web-gui/data/napp-it/CGI/IO/Tty.pm line 30.
Compilation failed in require at /var/web-gui/data/napp-it/CGI/IO/Pty.pm line 7.
BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/IO/Pty.pm line 7.
Compilation failed in require at /var/web-gui/data/napp-it/CGI/Expect.pm line 22.
BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/Expect.pm line 22.
Compilation failed in require at /var/web-gui/data/napp-it/zfsos/_lib/illumos/zfslib.pl line 2843.
BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/zfsos/_lib/illumos/zfslib.pl line 2843.
Compilation failed in require at /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl line 89.
I'm not certain if this is significant but, looking at the code, it appears it's used as a taskrunner and may affect things such as my auto replication.

Can you please take a look at this Gea and advise?

Thank you!
 

gea

Well-Known Member
Dec 31, 2010
3,333
1,297
113
DE
Have you modified your Perl?
The Tty Perl module from Expect.pm is precompiled for a default OmniOS 151022 and only working there.

Check Perl version, The following is the one from OmniOS 151022
Code:
~# perl -v
This is perl 5, version 24, subversion 1 (v5.24.1) built for i86pc-solaris-thread-multi-64int
 

manxam

Active Member
Jul 25, 2015
234
50
28
Thanks Gea. It appears that there is a perl installation of 5.22 in /opt/local/bin though I don't recall installing it myself. I have renamed the executable to perl.old and "which" now shows perl at "/usr/bin/perl" and "perl -v" shows 5.24.