Hi,
I was trying to run LTSpice after the Leap 15.6 to 16 upgrade and runing wine as usual I got an error:
wine is a 32-bit installation, it cannot support 64-bit applications.
Searching online it appears that one needs a 64 bit environment on wine to rn those applications.
So what I did in the case of LTSpice was the recommended creation of a wine64 new folder and environment.
Following:
https://www.linuxquestions.org/questions/linux-newbie-8/can%27t-get-wine-to-run-64-bit-exe-programs-946846/#post4687530
the way to the issue is simply:
WINEARCH=win64 WINEPREFIX=/home/yourusername/.wine64 winecfg
This creates a new ~/.win64 directory with all the required environment.
I then simply Copied the .wine normal directory of the previously installed Software.
~/.wine/drive_c/Program Files/LTspiceXVII
into the same Folder on the newly created ~/.wine64 directory
that is into
~/.wine64/drive_c/Program Files/LTspiceXVII
And then to run the program one must Always have the exact same environment to win64. so now LTSpice runs with:
WINEARCH=win64 WINEPREFIX=/home/yourusername/.wine64 wine64 ./XVIIx86.exe
this can of course be done with a plasma application launcher.
While making the link to application from say dolphin on the field Environment Variables one must place:
WINEARCH=win64 WINEPREFIX=/home/yourusername/.wine64
And that’s about it.