(Solved) Cannot seem to create 64-bit Wine prefix.

Questions about Wine on Linux
Locked
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

(Solved) Cannot seem to create 64-bit Wine prefix.

Post by dirkmitt »

Hello.

I'm moderately experienced in the use of Wine. But recently, I've tried installing the 64-bit version side-by-side with the 32-bit, and have run into a snag.

The version of Wine which I have is Wine Staging 3.11 . I installed both the 32-bit and 64-bit versions from the Debian 9 (Stretch) repository, and have also installed 'winehq-staging', which sets some symlinks to point to '/opt/wine-staging/bin', for system-wide use.

So now to test the 64-bit capability, I run the following command:

Code: Select all

WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg
But all I get is the error-messages:

Code: Select all

wine: created the configuration directory '/home/dirk/.wine64'
wine: WINEARCH set to win64 but '/home/dirk/.wine64' is a 32-bit installation.
Contrarily to what the error message says, ~/.wine64 does not previously exist. And contrarily to what 100% of the other Web articles insist, I want to create a 64-bit prefix.

What gives?

(Edit - Solution ... )

Apparently there existed the possibility of two packages being installed - one or the other - the names of which were confusingly similar:

Code: Select all

wine-staging-i386:i386
wine-staging:i386
For any readers who may not know this, the first package-name, represents support for Win32, on 32-bit Linux, while the second represents the 32-bit Linux runtime. Because 32-bit Linux was never meant to support 64-bit Wine, the fact that the second package was installed, installed binaries, which also did not have Win64 -support. The fix was to select the following package in my package-manager:

Code: Select all

wine-staging
Which automatically chooses to un-install:

Code: Select all

wine-staging:i386
And then I was good to go. :)

Dirk
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: (Solved) Cannot seem to create 64-bit Wine prefix.

Post by dirkmitt »

I'm sorry !

I had posted erroneous information.

My original Wine install, was in fact from the WineHQ repository, not from the Debian. Debian 9 currently only offers Wine versions as high as 1.8.7-2 .

But even though I did have the correct repository included in my 'sources.list' file, there was the error, which could take place, for anybody whose Linux system is a multi-arch system, as mine usually are.

This leads to the possibility that we may have the i386 -CPU version of 'wine-staging' installed originally, but that we want to upgrade to x64 -support. At that point, we don't just need to install 'wine-staging-amd64' alongside what we already have, but must also make sure that our installation of 'wine-staging' be of the x64 variety, not of the i386 variety..

I suppose it might have been difficult for anybody on this forum to figure this one out, unless I had provided a thorough list of which relevant packages exactly I had installed to begin with.

Dirk
Locked