Wrong EXE-Format with IrfanView

Questions about Wine on Linux
Post Reply
UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

Wrong EXE-Format with IrfanView

Post by UlfZibis » Tue Dec 31, 2019 1:50 pm

Hi,
What is going wrong here:

Code: Select all

$ wine --version
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine-4.0.3

$ wine start Downloads/Software/iview454_x64_setup.exe 
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: Fehlerhaftes EXE-Format für Z:\home\jannis\Downloads\Software\iview454_x64_setup.exe.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: Fehlerhaftes EXE-Format für Z:\home\jannis\Downloads\Software\iview454_x64_setup.exe.
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknüpft.
ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.

jkfloris
Level 7
Level 7
Posts: 822
Joined: Thu Aug 14, 2014 10:10 am

Re: Wrong EXE-Format with IrfanView

Post by jkfloris » Wed Jan 01, 2020 10:28 am

Usually this means that you are trying to execute a 64-bit executable in a 32-bit wineprefix.
You can check your wineprefix with:

Code: Select all

grep "#arch=" ~/.wine/system.reg

UlfZibis
Level 3
Level 3
Posts: 58
Joined: Thu Sep 18, 2014 6:41 pm

Re: Wrong EXE-Format with IrfanView

Post by UlfZibis » Thu Jan 02, 2020 8:12 am

jkfloris wrote:
Wed Jan 01, 2020 10:28 am
Usually this means that you are trying to execute a 64-bit executable in a 32-bit wineprefix.
You can check your wineprefix with:

Code: Select all

grep "#arch=" ~/.wine/system.reg
I get:

Code: Select all

#arch=win32
So the question is, why running Wine the first time a 32 bit wineprefix is created instead of a 64 bit wineprefix.

As a workaround I now have deleted ~/.wine and once started winecfg. So now I have a 64 bit wineprefix.

Now I have been able to successfully install IrfanView_x64.

Post Reply