Today I wanted to install a game 😀 but I needed some Windows libraries. I decided to fill them with winetricks and when I started the script I received the following bucket message –
$ ./winetricks ------------------------------------------------------ wineserver not found! ------------------------------------------------------
Quite a fun situation and at the same time extremely obvious. Winetricks does not find the wineserver binary file. Generally normal because I use x64 Debian Linux and the packages I use are not from the official source. The solution is elementary in 2 steps
1. We find the path to the wineserver
$ locate wineserver /usr/lib32/wine-unstable/wineserver /usr/share/man/de.UTF-8/man1/wineserver.1.gz /usr/share/man/fr.UTF-8/man1/wineserver.1.gz /usr/share/man/man1/wineserver.1.gz
And we create a symbolic link to /usr/local/bin/wineserver where the script in question looks for the default file but in my case it is /usr/lib32/wine-unstable/wineserver
#ln -s /usr/lib32/wine-unstable/wineserver /usr/local/bin/wineserver