WINESERVER env path ignored

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
amoxo
Newbie
Newbie
Posts: 2
Joined: Mon Dec 19, 2016 7:45 am

WINESERVER env path ignored

Post by amoxo »

hello everybody!

i'm having some trouble here !!! :shock:

i have 2 versions of wine in my PC

1)2.0-rc1 installed using package manager, perfectly working
2)1.8.4 self compiled, with some modifications for testing purposes

When i try to start the 1.8.4 by:

Code: Select all

WINELOADER="/mnt/D/wine-1.8.4/wine" WINESERVER="/mnt/D/wine-1.8.4/server/wineserver" WINEPREFIX="/mnt/D/winefix" /mnt/D/wine-1.8.4/wine someexecutable
i get:

Code: Select all

wine client error:0: version mismatch 490/524.
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?
at this point i'm pretty sure that my self compiled 1.8.4 wine is calling the wrong wineserver (maybe the 2.0-rc1 in the /opt/ folder) but i can't figure out why, because i'm specifing all environment variables ... seems like WINESERVER variable is completely ignored .... (paths are correct and execute permissions are okay)

thanks to all for your help :D :D :D
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINESERVER env path ignored

Post by dimesio »

One possibility is that you still have a process left running in the background from 2.0-rc1; check your running processes.

The other possibility is that your self-compiled Wine is pure 64 bit and you are trying to run a 32 bit app, or one with 32 bit parts, and that Wine is using the only 32 bit parts it can find on your system, which happens to be a different version. You need to compile both 32 and 64 bit Wine for a functioning WoW64 setup.
amoxo
Newbie
Newbie
Posts: 2
Joined: Mon Dec 19, 2016 7:45 am

Re: WINESERVER env path ignored

Post by amoxo »

thanks very much for your fast reply ...

in effects i was compiling a pure 64bit version of wine ...

i've downloaded the missing i386 dev libraries and i've recompiled in pure 32bit ...

working perfectly as my application is pure 32bit :D

thank you very much for your help !!!

have a nice day
Locked