Running Wine on AMD64 Gutsy release

Asked by beagledog

Hello I am a noobie at Ubuntu. Enjoying it so far except for a few hiccups. I am having difficulty getting WINE to work. The first time I loaded ubuntu on this computer it worked like a charm., but after I messed up the system by playing around I reinstalled ubuntu and wine did not work after many installs and re-installs.

The computer is an AMD64 with Gutsy loaded . The machine has a ATI xpress 200 shared memory video card which after much trouble I managed to get working with Compiz effects.

when run winecfg in terminal mode I get the following message

:~$ winecfg
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:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x8ad, disabling mixer
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
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 the simple game potato-game does not work

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
beagledog
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Using terminal from: Applications->Accessories->Terminal menu

You can reinstall a package (without purging the setting):
sudo apt-get --reinstall install packagename

You can reinstall a package (purging the setting):
sudo apt-get --purge --reinstall install packagename

Substitute packagename with wine and you can reinstall wine

Give your user password when requested, you don't see nothing when you type it, then press enter.

Hope This Help

Revision history for this message
beagledog (gsdixon) said :
#2

Hi

Thanks for the quick feedback. I did not have much luck. Wine won't even show in the menu.

here is the message I receive after running the reinstall command

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-libc-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/10.9MB of archives.
After unpacking, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 122622 files and directories currently installed.)
Preparing to replace wine 0.9.49~winehq0~ubuntu~7.10-1 (using .../wine_0.9.49~winehq0~ubuntu~7.10-1_amd64.deb) ...
Unpacking replacement wine ...
Setting up wine (0.9.49~winehq0~ubuntu~7.10-1) ...
update-binfmts: warning: unable to open /usr/share/binfmts/wine: No such file
or directory
update-binfmts: warning: couldn't find information about 'wine' to import
update-binfmts: exiting due to previous errors

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Using terminal from: Applications->Accessories->Terminal menu

sudo apt-get install binfmt-support binutils
sudo apt-get --purge --reinstall install wine

Give your user password when requested, you don't see nothing when you type it, then press enter.

Hope This Help

Revision history for this message
beagledog (gsdixon) said :
#4

Thanks for the reply. Still does not seem to work Below is the message I received.
Does this have anything to do with ATI card I'm using or AMD64? I've also had no luck with Automatix

 sudo apt-get install binfmt-support binutils
[sudo] password for
Reading package lists... Done
Building dependency tree
Reading state information... Done
binfmt-support is already the newest version.
binutils is already the newest version.
The following packages were automatically installed and are no longer required:
  libbcprov-java liblzo1 libglib-java libgtk-jni libglib-jni libgnucrypto-java
  libcairo-jni libcairo-java libgtk-java linux-libc-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gordon@family:~$ sudo apt-get --purge --reinstall install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbcprov-java liblzo1 libglib-java libgtk-jni libglib-jni libgnucrypto-java
  libcairo-jni libcairo-java libgtk-java linux-libc-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  wine
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/10.9MB of archives.
After unpacking, 50.5MB of additional disk space will be used.
Selecting previously deselected package wine.
(Reading database ... 130939 files and directories currently installed.)
Unpacking wine (from .../wine_0.9.49~winehq0~ubuntu~7.10-1_amd64.deb) ...
Setting up wine (0.9.49~winehq0~ubuntu~7.10-1) ...
update-binfmts: warning: unable to open /usr/share/binfmts/wine: No such file
or directory
update-binfmts: warning: couldn't find information about 'wine' to import
update-binfmts: exiting due to previous errors

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

sudo apt-get --purge --reinstall install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbcprov-java liblzo1 libglib-java libgtk-jni libglib-jni libgnucrypto-java
  libcairo-jni libcairo-java libgtk-java linux-libc-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/10.9MB of archives.
After unpacking, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 131295 files and directories currently installed.)
Preparing to replace wine 0.9.49~winehq0~ubuntu~7.10-1 (using .../wine_0.9.49~winehq0~ubuntu~7.10-1_amd64.deb) ...
Unpacking replacement wine ...
Setting up wine (0.9.49~winehq0~ubuntu~7.10-1) ...
update-binfmts: warning: couldn't find information about 'wine' to import
update-binfmts: exiting due to previous errors

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please try this:

sudo apt-get autoremove
sudo apt-get --purge --reinstall install binfmt-support binutils wine

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Better:
Please try this:
sudo apt-get clean
sudo apt-get update
sudo apt-get autoremove
sudo apt-get --purge --reinstall install binfmt-support binutils wine
sudo apt-get upgrade

Revision history for this message
beagledog (gsdixon) said :
#7

Marcobra thanks for the help. I still cannot get wine to work, many of my other programs do not work from KPDF, Acrobat , Khangman, xpdf etc. so I might have played around a bit too much. I will probably reinstall ubuntu.

xpdf
Illegal instruction (core dumped)

 kpdf
kpdf: error while loading shared libraries: libkparts.so.2: cannot open shared object file: No such file or directory

 wine notepad
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:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
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
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).

khangman
khangman: error while loading shared libraries: libkdeui.so.4: cannot open shared object file: No such file or directory

Thanks again for the help.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Try:
sudo apt-get --purge --reinstall install xpdf kpdf

HTH

Revision history for this message
beagledog (gsdixon) said :
#9

Marcoba thank you for your efforts.
Re-installing ubuntu fixed the problems.
Wine and all of the programs run well.