i wanted to try to run couple of the Windows apps on Linux MX 17 thanks to Wine.
1. i installed wine (via package manager these packages: wine-staging, winehq-staging, winetricks)
2. i installed DirectX (required by app):
command: winetricks directx9
it appeared like it installed DirectX (installing and running dxdiag.exe shows version 9.0c, but says "Several files (d3d8thk.dll, dpvsetup.exe, dpvvox.dll, etc.) are missing")). After launching Winetricks i see numerous d3d libraries are enabled: screenshot
And in Terminal i went to directory where was .exe and i launched it: wine appname.exe
it returned pop-up window entitled "Could not create directory" with error "DirectX 9 or later is required". That is strange since i installed it.
console was returning more details about that:
launching other app, says:fixme:winediag:start_process Wine Staging 2.21 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:init_opengl OpenGL support is disabled.
i read there have to be both 32 and 64bit libraries though unsure how to properly add 32bit one, can not find it in apt.fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
playonlinux says alike: "PlayOnLinux is unable to find 32bits OpenGL libraries."
"error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory"
$ locate libGL.so.1
$ ldconfig -p|grep -i libGL.so/usr/lib/virtualbox/additions/libGL.so.1
/usr/lib/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
I spent like 1 hour to find that i need 32bit library, and found the command: apt-get install libgl1-mesa-glx:i386libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/virtualbox/additions/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/virtualbox/additions/libGL.so
It installed it:
then wine no longer complains about missing libGL.so.1libxcb-present0:i386 (1.12-3, automatic)
libglapi-mesa:i386 (13.0.6-1+b2, automatic)
libxshmfence1:i386 (1.2-1+b2, automatic)
libxxf86vm1:i386 (1:1.1.4-1+b2, automatic)
libxdamage1:i386 (1:1.1.4-2+b3, automatic)
libgl1-mesa-glx:i386 (13.0.6-1+b2)
libxcb-glx0:i386 (1.12-3, automatic)
libxcb-dri2-0:i386 (1.12-3, automatic)
libxcb-dri3-0:i386 (1.12-3, automatic)
libxcb-sync1:i386 (1.12-3, automatic)

(i have Radeon RX 560 2G)libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 37
Current serial number in output stream: 36

I was googling that driver radeon error, and some people talking about preloading libstdc, though i do not understand how or why or if needed.
Please what else i need to do so there is no libGL errors?