[OmniOS-discuss] after installing postfix, got 'wrong ELF class' issue
Theo Schlossnagle
jesus at omniti.com
Thu May 19 20:07:48 UTC 2016
My guess is that napp assumes a 32bit perl?
Try:
/usr/bin/i386/perl /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl
On Thu, May 19, 2016 at 3:49 PM, Robert Fantini <robertfantini at gmail.com>
wrote:
> 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?
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
--
Theo Schlossnagle
http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160519/7fa03afb/attachment.html>
More information about the OmniOS-discuss
mailing list