I have recently switched over from windows to mac, and need to install some windows programs on my mac. Looking around, I found that the wine application is a good way to do this without having to set up a virtual win operating system.
I have installed Xcode, Macports, and Wine. Now I want to install some windows programs via wine, but I get the same error message every time:
So I tried to research and fix the problem, and came up with thisHow to use Wine - SpeedofMac.com:
I tried it but it didn't help; I still get the same error. What can I do to fix the problem?
I have installed Xcode, Macports, and Wine. Now I want to install some windows programs via wine, but I get the same error message every time:
Code:
$ wine /Users/[username]/Desktop/[newprogram]/Windows/Setup/Install.exe
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
fixme:win:DisableProcessWindowsGhosting : stub
So I tried to research and fix the problem, and came up with thisHow to use Wine - SpeedofMac.com:
When running winecfg or using Wine some other way, you might come up with some of the following errors:
- err:x11drvrocess_attach failed to load libX11.6.dylib: dlopen(libX11.6.dylib, 266): image not found
- Application tried to create a window, but no driver could be loaded.
- Make sure that your X server is running and that $DISPLAY is set correctly.
Luckily, there's an easy fix:
Open your .profile file (run open ~/.profile in Terminal)
Enter the following into your .profile file:
DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
export DYLD_FALLBACK_LIBRARY_PATH
Save and close .profile
Restart Terminal.app
That's it!
I tried it but it didn't help; I still get the same error. What can I do to fix the problem?