[OmniOS-discuss] after installing postfix, got 'wrong ELF class' issue

Robert Fantini robertfantini at gmail.com
Thu May 19 19:49:49 UTC 2016


Hello

after getting postfix to work on two nappi-it/omnps systems,  i get an
email every minutes with this:
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
/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/DynaLoader.pm line 190.
 at /var/web-gui/data/napp-it/CGI/IO/Tty.pm line 30.

and at napp-it menu - click zfs gets this:

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
/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/DynaLoader.pm line 190.
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
2816. BEGIN failed--compilation aborted at
/var/web-gui/data/napp-it/zfsos/_lib/illumos/zfslib.pl line 2816.
Compilation failed in require at admin.pl line 869.


I did this to install postfix,
 pfexec pkg set-publisher -G '*' -g http://sfe.opencsw.org/localhostomnios
localhostomnios

 pkg install pkg://localhostomnios/service/network/smtp/postfix


I'm new to omnios,  it looks like wrong arch perl stuff got in?

Any suggestions on how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160519/3ff79b05/attachment-0001.html>


More information about the OmniOS-discuss mailing list