Re: Wine in amd64
Gary Dale wrote:
> Siard wrote:
> > I have a 64-bit Windows executable.
> > So I created a 64-bit wine directory:
> >
> > WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg
> >
> > and tried to install the program:
> >
> > WINEPREFIX=~/.wine64 wine ./program.exe
> >
> > However, I get this error:
> >
> > wine: '/home/<user>/.wine64' is a 64-bit installation, it
> > cannot be used with a 32-bit wineserver.
> >
> > I wonder why I have a '32-bit wineserver'. And how to get a 64-bit
> > wineserver then?
>
> You probably have to work at getting wine32 on an amd64 system. If
> you just install wine, you get wine64. If left to its own devices,
> /usr/bin/wine will launch wine64. AFAIK wine64 will run 32-bit
> executables - I have only win64 installed and the few programs I have
> that use wine run fine, including one that I specifically compiled as
> 32-bit.
>
> Have you tried purging wine and/or wine32 and just installing wine?
I recently switched to 64-bit and reinstalled everything, including
wine. It appears that 'wine' (just a virtual package), 'wine64' and
'wine32:i386' are installed.
32-bit executables run fine in wine; I just can't get a 64-bit
executable installed.
But your post prompted me to try wine64 instead of wine.
The 64-bit .exe I try to install is Sigil-0.8.4-Windows-x64-Setup.exe,
downloaded from here: https://github.com/user-none/Sigil/releases
I discovered that there's something wrong with this program.
The 'file' command says:
Sigil-0.8.4-Windows-x64-Setup.exe: PE32 executable (GUI) Intel 80386, for MS Windows
Apparently it is not a 64-bit program at all.
Installing it with 'wine64' just gives this error for now:
wine: Bad EXE format for C:\Sigil-0.8.4-Windows-x64-Setup.exe.
But if I ever need to install a proper x64 program it looks like
this may be the solution.
Thanks so far.
Reply to: