wine: wineserver doesn't support the x86_64 architecture

Questions about Wine on Linux
Locked
sblandford
Newbie
Newbie
Posts: 2
Joined: Wed Aug 15, 2018 7:18 am

wine: wineserver doesn't support the x86_64 architecture

Post by sblandford »

I am unable to initialise a 64bit wine directory.

I have tried
1) $ winecfg (creates a 32-bit directory)

2) $ WINEARCH=win64 winecfg
Results in a 32-bit directory
wine: WINEARCH set to win64 but '/home/simonb/.wine' is a 32-bit installation.

3) $ WINEARCH=win64 wine64 winecfg.exe
wine: created the configuration directory '/home/simonb/wine/wifitranslationhub'
wine: wineserver doesn't support the x86_64 architecture


I am running Ubuntu 16.04 with the stable winehq packages installed.
wine-stable/xenial,now 3.0.2~xenial i386 [installed,automatic]
wine-stable-amd64/xenial,now 3.0.2~xenial amd64 [installed]
wine-stable-i386/xenial,now 3.0.2~xenial i386 [installed]
winehq-stable/xenial,now 3.0.2~xenial amd64 [installed]


The only other place I can see this error message, "wine: wineserver doesn't support the x86_64 architecture", is in Pastebin with no further explanation.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: wine: wineserver doesn't support the x86_64 architecture

Post by Bob Wya »

@sblandford

What's the output from:

Code: Select all

'ls' -hl /usr/bin/wine*

file /opt/wine-stable/bin/wine{,64,server}
Ta
Bob
sblandford
Newbie
Newbie
Posts: 2
Joined: Wed Aug 15, 2018 7:18 am

Re: wine: wineserver doesn't support the x86_64 architecture

Post by sblandford »

I resolved the issue by uninstalling and re-installing. I suspect I had bits of a different version of wine or its libraries somewhere, although I only reinstalled the same packages again.

Code: Select all

sudo apt remove wine-stable-i386 wine-stable-amd64 wine-stable winehq-stable
sudo apt auto-remove
sudo apt install wine-stable-amd64 wine-stable
This fixed it. Unfortunately running the commands above probably won't show anything useful since wine/wine64 is now working.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: wine: wineserver doesn't support the x86_64 architecture

Post by DarkShadow44 »

Just for completeness, similar bugreport: https://bugs.winehq.org/show_bug.cgi?id=45557
Locked