Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
wine 3.8 wow64 issue
Page: 1/2»
  Go to:
skyrrd May 19, 2018
i am struggeling to create a usable wow64 of wine 3.8 where 3.7 did work for me.

running a 64bit application works, but 32bit

WINEVERPATH=/opt/wine3.8wow64
WINESERVER=/opt/wine3.8wow64/bin/wineserver
WINELOADER=/opt/wine3.8wow64/bin/wine64
WINEDLLPATH=/opt/wine3.8wow64/lib/wine/fakedlls
LD_LIBRARY_PATH=/opt/wine3.8wow64/lib:
===========================================
wine client error:0: version mismatch 548/551.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?


what i did was:
cd /mnt/misc/wine-build-env/wine-sources
git pull
cd /mnt/misc/wine-build-env/wine64-build
sh /mnt/misc/wine-build-env/wine-source/configure --enable-win64
make
cd /mnt/misc/wine-build-env/wine32-build
PKG_CONFIG_PATH=/usr/lib32/pkgconfig sh /mnt/misc/wine-build-env/wine-sources/configure --with-wine64=/mnt/misc/wine-build-env/wine64-build prefix=/opt/wine3.8wow64
make
sudo make install


(Edited paths to avoid furthr misunderstandings, also corrected prefix)
any hint on what i'm doing wrong here
devnull May 19, 2018
Assuming your typos were copy paste errors, make sure there were no running wineservers when you upgraded.

--with-wine64=.../wine64-build prefix=/opt/wine_3.8_wow64

should be
--with-wine64=../wine64-build --prefix=/opt/wine_3.8_wow64
skyrrd May 19, 2018
No they weren't i just shortened the paths here.
but thanks anyway
devnull May 19, 2018
"..." isn't a valid path though.
skyrrd May 19, 2018
Quoting: devnull"..." isn't a valid path though.

You are absolutely right, but as i said, i just shortened the real paths here.

Never mind, i edited the fist post to make it clear.

Compilations do work, winecfg and also witcher does work fine but steam and other 32bit applications do fail
devnull May 19, 2018
WINESERVER=/opt/wine3.8wow64/bin/wineserver

yet you installed into

prefix=/opt/wine_3.8_wow64

What does `which wine` say? If I had to guess I'd say you're still picking up the wrong wine. Or was that another shortened version or something?

FWIW I couldn't build with what you have. My own build environment works though. It's basically the same except I build with alsa.
Avehicle7887 May 19, 2018
I build Wine in a simple way (needs a Virtual Machine).


1) First I build Wine 64bit using the --enable-win64

2) 'Make install' to a custom prefix (usually it's "/home/user/wine_build" )

3) In a Virtual Machine with a 32bit-only OS I build Wine 32bit as in Step 1

4) In the same VM: (again like in Step 2) 'Make install' to a custom prefix (usually it's "/home/user/wine_build" )


5) Final Step (Apologies if this can be confusing):

From the 32bit Wine build go into the 'bin' folder and copy the 2 files 'wine' and 'wine-preloader' into the 64bit Wine 'bin' folder and from the 32bit Wine copy the 'lib' folder and paste it into the 64bit Wine prefix.

Technically all one has to do to get a 64bit Wine build with 32 bit support is to cut/copy 2 files from the 'bin' folder and the entire 'lib' folder from the 32bit version.
skyrrd May 19, 2018
Quoting: devnullWINESERVER=/opt/wine3.8wow64/bin/wineserver

yet you installed into

prefix=/opt/wine_3.8_wow64

What does `which wine` say? If I had to guess I'd say you're still picking up the wrong wine. Or was that another shortened version or something?

FWIW I couldn't build with what you have. My own build environment works though. It's basically the same except I build with alsa.

Youre right, thats just an error copied from bash history, already corrected it before compiling

The wine version does differ from system-wide wine, but thats intended, so which wine will just show /usr/bin/wine
The right wine-version is picked up when startes through my scripts, so no error there.

@Avehicle7887 thats right it should work as well.
Thing is everything worked as intended for wow64 builds until 3.8 so i would rather keep this methode then setup some vms just for wine.
devnull May 19, 2018
I give up guy. I mean, if you're not going to show what you've actually tried then I can't really help. Based on above it appeared you were doing this from a prompt but now you're saying it's running from a script and won't provide any further details?

LUL. Cheers.
Avehicle7887 May 19, 2018
Quoting: skyrrd@Avehicle7887 thats right it should work as well.
Thing is everything worked as intended for wow64 builds until 3.8 so i would rather keep this methode then setup some vms just for wine.

I set it up that way as I'm not very familiar with chrooting, initially I built it to package my games with both 32 and 64 bit binaries, but in the end I ended up using it just for Wine.
skyrrd May 19, 2018
/usr/local/bin/wine_env.sh
#!/bin/bash

export wine_dir=${wine_dir:-"wine-devel"}
export wine_bin=${wine_bin:-"wine"}

export WINEVERPATH=${WINEVERPATH:-"/opt/${wine_dir}"}
export PATH=${WINEVERPATH}/bin:$PATH
export WINESERVER=${WINEVERPATH}/bin/wineserver
export WINELOADER=${WINEVERPATH}/bin/${wine_bin}
export WINEDLLPATH=${WINEVERPATH}/lib/wine/fakedlls
export LD_LIBRARY_PATH="${WINEVERPATH}/lib:${LD_LIBRARY_PATH}"


/usr/local/bin/wine_run.sh
#!/bin/bash

# Overrides and settings:
#
# WINEVERPATH to use custom location of Wine
# WINEPREFIX to set what prefix to use

if [[ "$1" == 32 ]]; then
   wine_bin='wine'
   shift
else
   wine_bin='wine64'
fi

source $(dirname ${BASH_SOURCE[0]})/wine_env.sh

echo "Wine env:"
echo "WINEPREFIX=${WINEPREFIX}"
echo "WINEVERPATH=${WINEVERPATH}"
echo "WINESERVER=${WINESERVER}"
echo "WINELOADER=${WINELOADER}"
echo "WINEDLLPATH=${WINEDLLPATH}"
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
echo "==========================================="

$wine_bin $@


And for an individual game/prefix i use this script to launch with preset wine version:

#!/bin/bash

export wine_dir=${wine_dir:-"wine3.8wow64"}
export WINEARCH=win64
export WINEPREFIX=/mnt/games/wine-prefixes/elex
export WINEDEBUG=-a
export DXVK_HUD=1
cd '/mnt/games/wine-prefixes/elex/drive_c/Program Files (x86)/Steam/'
wine_run.sh Steam.exe
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.