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

Robert Fantini robertfantini at gmail.com
Thu May 19 20:36:24 UTC 2016


ls -l /usr/bin/perl
lrwxrwxrwx 1 root root 24 Apr  5 15:40 /usr/bin/perl ->
../perl5/5.16.1/bin/perl*




On Thu, May 19, 2016 at 4:32 PM, Robert Fantini <robertfantini at gmail.com>
wrote:

> # /usr/bin/i386/perl /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl
> -bash: /usr/bin/i386/perl: No such file or directory
>
>
> On Thu, May 19, 2016 at 4:18 PM, Robert Fantini <robertfantini at gmail.com>
> wrote:
>
>> tried:
>> pkg uninstall postfix
>>
>>
>> same issue.
>>
>> 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?
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160519/cae239a0/attachment-0001.html>


More information about the OmniOS-discuss mailing list