Wine Problem!
Hey everyone,
I installed Slackware 13.0 64bit on my system and wine comes as default. All files are there but wine stil does not work. bash-3.1$ winecfg /usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory /usr/bin/winecfg: line 29: /usr/bin/wine: Success I looked around and this problem has been reported by other people as well but none are solved. Any suggestions ? |
Quote:
Code:
$whereis wine |
Similar problem was found in LQ, seems to be solved . see this thread
|
bash-3.1# whereis wine
wine: /usr/bin/wine /usr/lib/wine /usr/X11R6/bin/wine /usr/bin/X11/wine /usr/X11/bin/wine /usr/include/wine /usr/share/wine /usr/man/man1/wine.1.gz /usr/share/man/man1/wine.1.gz /usr/X11/man/man1/wine.1.gz I read that post and it is not solved. |
May be just uninstall it and install again?
|
WHat do you mean by uninstall ? remove all wine related stuff ? I do not see where this can come handy since installing official tgz for package just extracts the necessary files to various locations.
|
Quote:
|
since everything in Linux is a file, we can not talk about an installation process here. In windows there is is registry and other etc but there is no such crap in linux.Only file copy oeprations to locations.
|
manually set your wine path.
go to your home folder $vi .bashrc WINE=/usr/lib/wine export PATH=$WINE:$PATH |
bash-3.1$ WINE=/usr/lib/wine
bash-3.1$ export PATH=$WINE:$PATH bash-3.1$ wine bash: /usr/bin/wine: No such file or directory bash-3.1$ winecfg /usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory /usr/bin/winecfg: line 29: /usr/bin/wine: Success No luck :/ |
So---where IS wine installed?
If it is on your computer, this will find it: Code:
find / -name "wine*" |
@t3st ; you are relaying on default installation. If it has problems then
Make a fresh installation of latest wine. |
bash-3.1$ find / -name "wine*"
/usr/share/wine /usr/share/wine/wine.inf /usr/share/texmf/doc/help/Catalogue/entries/winedt.html /usr/share/texmf/doc/help/Catalogue/entries/winemtex.html /usr/share/pixmaps/wine.xpm /usr/share/apps/katepart/syntax/winehq.xml /usr/share/apps/kappfinder/apps/System/wine.desktop /usr/share/applications/winecfg.desktop /usr/share/applications/wine.desktop /usr/share/icons/oxygen/48x48/apps/wine.png /usr/share/icons/oxygen/scalable/apps/wine.svgz /usr/share/icons/oxygen/64x64/apps/wine.png /usr/share/icons/oxygen/128x128/apps/wine.png /usr/share/icons/oxygen/16x16/apps/wine.png /usr/share/icons/oxygen/32x32/apps/wine.png /usr/share/icons/oxygen/22x22/apps/wine.png /usr/share/icons/mono/scalable/apps/wine.svgz /usr/doc/wine-1.1.39 /usr/doc/wine-1.1.39/wine.SlackBuild /usr/bin/wineprefixcreate /usr/bin/winemine /usr/bin/wine /usr/bin/winefile /usr/bin/wineg++ /usr/bin/winepath /usr/bin/winegcc /usr/bin/winemaker /usr/bin/wineboot /usr/bin/winecfg /usr/bin/winedump /usr/bin/wineserver /usr/bin/winedbg /usr/bin/wine-preloader /usr/bin/wineconsole /usr/bin/winebuild /usr/bin/winecpp /usr/lib/wine /usr/lib/wine/wineps.drv.so /usr/lib/wine/winealsa.drv.so /usr/lib/wine/wineoss.drv.so /usr/lib/wine/winemine.exe.so /usr/lib/wine/wineps16.drv16.so /usr/lib/wine/winecfg.exe.so /usr/lib/wine/winejack.drv.so /usr/lib/wine/winepath.exe.so /usr/lib/wine/winefile.exe.so /usr/lib/wine/winevdm.exe.so /usr/lib/wine/wined3d.dll.so /usr/lib/wine/winejoystick.drv.so /usr/lib/wine/winemapi.dll.so /usr/lib/wine/winenas.drv.so /usr/lib/wine/winebrowser.exe.so /usr/lib/wine/winedbg.exe.so /usr/lib/wine/winex11.drv.so /usr/lib/wine/winedevice.exe.so /usr/lib/wine/wineesd.drv.so /usr/lib/wine/wineboot.exe.so /usr/lib/wine/winemenubuilder.exe.so /usr/lib/wine/winecoreaudio.drv.so /usr/lib/wine/wineaudioio.drv.so /usr/lib/wine/wineconsole.exe.so /usr/lib/wine/fakedlls/wineesd.drv /usr/lib/wine/fakedlls/wineconsole.exe /usr/lib/wine/fakedlls/winenas.drv /usr/lib/wine/fakedlls/winedbg.exe /usr/lib/wine/fakedlls/winejoystick.drv /usr/lib/wine/fakedlls/wined3d.dll /usr/lib/wine/fakedlls/winevdm.exe /usr/lib/wine/fakedlls/wineps16.drv16 /usr/lib/wine/fakedlls/winedevice.exe /usr/lib/wine/fakedlls/winemenubuilder.exe /usr/lib/wine/fakedlls/winebrowser.exe /usr/lib/wine/fakedlls/wineps.drv /usr/lib/wine/fakedlls/winex11.drv /usr/lib/wine/fakedlls/winepath.exe /usr/lib/wine/fakedlls/wineoss.drv /usr/lib/wine/fakedlls/winecfg.exe /usr/lib/wine/fakedlls/winejack.drv /usr/lib/wine/fakedlls/winealsa.drv /usr/lib/wine/fakedlls/winefile.exe /usr/lib/wine/fakedlls/winemine.exe /usr/lib/wine/fakedlls/winecoreaudio.drv /usr/lib/wine/fakedlls/wineaudioio.drv /usr/lib/wine/fakedlls/winemapi.dll /usr/lib/wine/fakedlls/wineboot.exe files are there with necessary permissions and they are copied from the latest release. |
/usr/bin/wine seems to be there.
Is it executable? what do you get when you type 'ls -l /usr/bin/wine'? |
bash-3.1# ls -l /usr/bin/wine
-rwxr-xr-x 1 root root 6900 2010-03-15 01:33 /usr/bin/wine bash-3.1# whoami root bash-3.1# wine bash: /usr/bin/wine: No such file or directory This is crazy :) |
Hmm.
Are you having trouble with your hard drive? What file system are you using on your root partition? Is you hard drive full? |
no it has 240+GB of free space and file system on is ext3.
everything except wine works perfectly. |
Well, the file would appear to be there.
The permissions would appear to be correct. The file size looks just about correct, so it doesn't appear to be corrupted. My own wine executable is below: Quote:
I'm not sure what to suggest apart from reinstalling. |
I am having the same problem with wine and have installed several times today and it doesn't help.
john |
Have you try to start it like:
/usr/bin/wine /usr/bin/winecfg |
Here is the result:
Code:
bash-3.1$ /usr/bin/wine john |
Ok, can open console and "cd" directory to /usr/bin/.
and then to be in /usr/bin/ type winecfg. Send please output of: ls -la |grep wine when you are in /usr/bin directory. Thanks |
Code:
bash-3.1# cd /usr/bin john |
Ok, Open file /usr/bin/winecfg with any text editor, find there line 29, and send here please everything from line 20 to 31
Thanks |
Quote:
john |
Can you please execute next command:
find / name -samefile wine Or may be: find / -samefile wine |
Quote:
|
I thought may be "wine" in /usr/bin/ could be a hard link to other file.
Tell what kind security Slackware 13.0 uses - apparmor or selinux. May be one of them prevent execute it. Check logs. |
Not for sure what logs I should check, I checked everything under /var/log and /home/john and couldn't find anything that referred to wine. I am pretty sure I don't have selinux installed and I have never heard of apparmor. How would I check?
I will check back tomorrow for your reply, it is late here and I have to report for jury duty tomorrow. Thanks for help, will be back tomorrow evening for your reply. @ original poster, not trying to steal your thread but I am having the same problem. Hope we can both find the answer. john |
Ok, that is not all, lets do some serious job.
Execute wine like this: strace /usr/bin/wine If it gives a big output, then strace /usr/bin/wine > /home/<user>/<any file> |
Here is the output:
Code:
bash-3.1$ strace /usr/bin/wine |
ENOENT
No such file or directory This error occurs when a file or directory cannot be found. Note, this can happen when creating a file if one of the parent directories doesn't exist, eg: touch /etc/doesnotexist/foo will complain with "No such file or directory" since /etc/doesnotexist does not exist. This error can be returned by many system calls that work with files. 29 pages link to ENOENT: link(2) mknod(2) fstatfs(2) creat(2) chown(2) open(2) msgget(2) bind(2) readlink(2) getdents(2) readdir(2) chmod(2) lstat(2) fchown(2) fchdir(2) delete_module(2) acct(2) access(2) chdir(2) chroot(2) lchown(2) mkdir(2) rename(2) fstat(2) execve(2) mount(2) packet(7) rmdir(2) query_module(2) Looks like, you have to write to Slackware developers. |
Another suggestion.
Put "wine" to any USER home directory, make it executable for user and then try to execute it like: /home/directory/wine |
That didn't work either.
Quote:
Thank you for your patience and your help. It could all be that somewhere in installing multilib I messed up something. But, on the bright side I did learn something new about strace, I have never used it before. Got to get out of the gui more. john |
Last question, please.
Change directory to: cd /home/john/ or to /usr/bin and then in console type: file wine What will be the output. Mine is: wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped |
Code:
bash-3.1$ cd /home/john john |
You have wine 32-bit, but Slackware 64-bit x86_64. I do not know, but will this type of wine work?
|
It will work but not perfectly. I had it installed and everything worked well but I had problems with a hard drive and had to reinstall Slackware and then I ran into problems when I added wine. It worked after I installed it but after I rebooted the computer it quick working. That is why I decided to just put it on an older 32 bit machine running slackware 13-32. At this point it is more trouble than it is worth. I will just wait until it is improved.
Thanks again for all of your help. john |
since it comes with the default installition I must agree that this is an issue that needs to be reported to Slackware.
|
This is a known bug. You can see other people are having problems too.
http://askubuntu.com/questions/76151...i-installed-it Launchpad bug: https://bugs.launchpad.net/ubuntu/+s...bs/+bug/852101 Workaround: reinstall libc6-i386 by running: sudo apt-get install --reinstall libc6-i386 |
missionsix
please do not post a Ubuntu bug to a Slackware post And one that is almost two years old the OP was using Slackware and NOT using ubuntu |
All times are GMT -5. The time now is 09:22 PM. |