Wine doesn't work

Asked by Gonçalo Fernandes

When i use de graphical menu to launch wine, nothing happens (not even uninstall). In the terminal, when i type: wine app.exe, i get the following:

err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

Also in the terminal, when i type winecfg, i get the this:

Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winealsa.drv": libasound.so.2: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libXext.so.6: cannot open shared object file: No such file or directory

... and a few more lines of complaints.

I'm running Ubuntu 8.10 amd64.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Solved by:
Gonçalo Fernandes
Solved:
Last query:
Last reply:
Revision history for this message
Steve Dodier-Lazaro (sidi) said :
#1

These are quite annoying errors. You're missing the files libXext.so.6 and libasound.so.2, and probably other files from libttf (incased you randomly changed permissions in your system folders as root, it may be that aswell, btw).

Let's see how it goes if you reinstall the following packages : "sudo apt-get install libasound2 libttf2 libfreetype6 libxext6"

I'm curious to know how you could be missing those, though. How did you install Wine ?

Also, did you activate the drivers of your graphics card ? This may be needed if you're trying to run games under Wine. Do you have any other problems apart from Wine that could be linked to drivers ? Especially with Compiz ?

Revision history for this message
Gonçalo Fernandes (ilogico) said :
#2

I cannot make those tests because i now installed the ubuntu 9.04 beta, I can , however, answer your questions.

I believe i did not change any file permissions, i installed wine throgh de Add/Remove Programs utility.

As for the drivers, the program i tried to run didn't require them i think (it was the Bridge Base Online client) but anyway i had them installed and working. But i had to deactivate the Desktop effects because they caused movies to blink and superimposed themvelves on other windows. This problem doesn't happen in ubuntu 9.04, but the movies do skip some frames if the effects are set to maximum.

I'm not sure if this is what you asked, but i hope it helps. Today i will install wine in the ubuntu 9.04 i'll provide more info then.

Revision history for this message
Steve Dodier-Lazaro (sidi) said :
#3

Alright.

The problems you were having with Intrepid were quite rare (i've been reading the Ubuntu Wine questions for quite a while, and i never heard of similar problems, that's why i think it'd be linked to missing files more than linked to wine directly).

When you try on Jaunty, if your app doesn't work, please also try the development version of Wine, which you can get in http://www.winehq.org/download/ (I don't know if they make .deb files for Jaunty yet, though). The development version is quite more advanced than the stable one, and thus there are many things that should work better with it.

By the way, what GPU are you using ? These movie blink problems could be linked to the use of the opensource drivers (which are getting improved but are not always working fine) for Nvidia/ATI cards (or proprietary drivers for most of ATI/Nvidia old cards).

You should still try to activate the proprietary drivers in System -> administration -> Drivers of peripherals (unless you mind having proprietary pieces of software on your PC, of course).

If you're still having trouble with the same app, try to run the notepad that is included in Wine (there should be a menu entry for it in the Applications menu, by the way). If you're still facing the same problems, i'll try to dig deeper into it, or help you to post a bug report on winehq.org.

Cordially, SD.

Revision history for this message
Gonçalo Fernandes (ilogico) said :
#4

Thanks for everything Steve Dodier.
Wine works for me in ubuntu 9.04, but i will still answer your questions:

- I had the ATI proprietary drivers installed, it was actually the only way to activate the visual effects.
- It is a ATI MobilitY Radeon HD 2400
- These blinks don't happen in Jaunty (although i did have a system crash when playing a movie and changing the visual effects from extra to none).
- In Intrepid i had uninstalled, reinstalled and installed upgrades from wineHQ, it still didn't run, not even that notepad app, nothing. I just heard the disc working for a split second and the nothing happened. The only way to get output (errors :) was from the console.

I still have some minor issues with wine, but i suppose they are not specifically related to ubuntu but the progs i try to run, or some configuration i don't know how to do.

Anyway, i appreciate your attention, Thank you

Revision history for this message
Steve Dodier-Lazaro (sidi) said :
#5

You're welcome, ilogico. Feel free to open questions if you're having particular trouble with an application.

You may also want to visit appdb.winehq.org, which lists apps registered by Wine users, with compatibility tests and workarounds / tutorials for common problems with a lot of apps (especially games).