I'm trying to run Wine with x11 driver (because some apps only work with x11 driver). I had installed XQuartz and it works and runs xterm.
However, when I run Wine, it outputs:
err:x11drv:process_attach failed to load libX11.6.dylib: dlopen(libX11.6.dylib, 266): image not found err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
/opt/X11/lib/libX11. Specifying it with
DYLD_LIBRARY_PATH environment variables when running Wine does not have any effect.
Applications bundled into .app such as Inkscape also don't work, but Inkscape does not output any error messages, just windows don't appear.
What can I do so X11 apps will be able to use XQuartz?
Mac OS 10.12.4, XQuartz 2.7.11.