Error when trying to run wine: "/usr/bin/wine: No such file or directory"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Error when trying to run wine: "/usr/bin/wine: No such file or directory"
Hello, I have a fresh install of Slackware 13 AMD64 (also installed slapt-get, changed passwords, set default wm to xfce, etc..), and today I tried to install the Slackware port of Wine from WineHQ.org, and the install succeeded. When I tried to run it
Code:
wine
It returned
Code:
/usr/bin/wine: No such file or directory
I am not sure why this is happening, as it worked on my 32-bit systems. My $PATH variable is this:
Thank you, and any help would be greatly appreciated. If needed, here is what was shown while installing wine:
Code:
bash-3.1# installpkg wine-1.1.29-i486-1kjz.tgz
Verifying package wine-1.1.29-i486-1kjz.tgz.
Installing package wine-1.1.29-i486-1kjz.tgz:
PACKAGE DESCRIPTION:
# WINE - Wine Is Not an Emulator
#
# Wine is an Open Source implementation of the Windows API on top of
# X and Unix; it is a compatibility layer for running Windows programs.
# Wine does not require Microsoft Windows, as it is a completely free
# alternative implementation of the Windows API. However, Wine can
# optionally use native Windows DLLs if they are available. Wine
# provides both a development toolkit for porting Windows source code
# to Unix, as well as a program loader to run Windows applications.
# Homepage: http://www.winehq.com/
# Packaged by Ken Zalewski (kennyz@nycap.rr.com)
Executing install script for wine-1.1.29-i486-1kjz.tgz.
Package wine-1.1.29-i486-1kjz.tgz installed.
Also, all the files are there. They are just not being recognized. "ls /usr/bin/wine*" shows the files are there.
Just be aware there is no dependency checking in slackware. Are all the dependencies installed? Try this:
cd /usr/bin && ldd wine
Check if all the libs are in sight. Also run winecfg. It needs a configuration to start. It finds your disk, you set basic options about how it plays with your hardware, and which version of windows it pretends to be.
Try ls -l /usr/bin/wine.
It might be a symlink to /opt/somewhere/wine or the like. This seems like your problem. Follow this to the executable, and try ldd on that.
..to see all the files that were installed.
That should show you the path to the wine executable. If it's somewhere in /opt you might need to add it to your $PATH variable. If it's in /usr/local/bin it should be in your $PATH. Run 'echo $PATH' to be sure...
Except for Debian & clones, 32bit = /usr/lib, /usr/local/lib, etc
64bit = /usr/lib64
Debian uses /usr/lib32 & /usr/lib respectively.
Wine is usually compiled 32 bit, and needs/uses 32 bit libs, because windows programs in the main are 32 bit
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.