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!
Reward Tiers:
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
- Blender change the Anthropic AI funding deal, with discussions planned for AI Policies
- Here's the top Steam Deck games for April 2026
- Steam Survey for April 2026 shows Linux still trending well
- Rocket League adds Easy Anti-Cheat with Steam Deck / Linux still supported
- SteamOS 3.8.3 Beta gets ready for the Steam Machine and Steam Controller
- > See more over 30 days here
Recently Updated
- Feedback needed - future website updates
- Xpander - Steam Deck desktop mode localization
- on_en_a_gros - Why most people are approaching the xz-attack wrong.
- LoudTechie - Lutris alternatives
- sourpuz - Welcome back to the GamingOnLinux Forum
- sourpuz - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
running a 64bit application works, but 32bit
WINEVERPATH=/opt/wine3.8wow64WINESERVER=/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-sourcesgit 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
--with-wine64=.../wine64-build prefix=/opt/wine_3.8_wow64
should be
--with-wine64=../wine64-build --prefix=/opt/wine_3.8_wow64
but thanks anyway
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
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.
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.
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.
LUL. Cheers.
/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