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.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Rep:
Cannot execute binary file
I've ran into this problem twice now with two different programs. I've downloaded three different SNES emulators:
SNEmul, ZSNES, and snes9x
SNEmul and snes9x give the same error after typing what they said to type:
[root@localhost] # SNEmul
"bash: SNEmul: Command not found"
[root@localhost] # snes9x
"bash: snes9x: Command not found"
Then I remember reading somewhere that you need an "sh" before the command...then I got "Cannot execute binary file"
The only one that has worked is ZSNES, which I had to compile. Do I need to compile these as well? If so why didn't the instructions even bother to mention such a minor detail? If not then why won't it work?
(PS - yes I know that ZSNES is a good emulator, but it doesn't seem to support my USB Gamepad Pro. So Either I need to find out how to map my joystick to "/dev/input/js0", or get another to work)
Just one more added comment:
Thank you so much! For all of you that have helped! Because without you, I would not have kept my interest in Linux. This is the third time trying Linux, and I think it may have finally stuck with me. Thank you, so much guys! For all your help!
Sometimes a how to expects some knowledge and common sense, this one expects you to have a little more than that. Others will bore the average user. I guess they chose the other side, confuse the average user.
It could be something as simple as PATHing. When the instructions are the short "extract and run" type then you probably need to add that diretory to your PATH or specify the full path to the binary. Sometimes the permissions aren't right for the binaries. Check to see if they are indeed executable.
Originally posted by Bigun Where would the file be to add the directory to my PATH?
in general
/etc/profile
I'm sure there is some distribution specific file in most major distributions that they want you to use.
however, I must ask, is it really all that big of a deal to type in ./<path-to-program>/<program-name> ? Most shells have tab completion..
or you could even install the program to /usr/local/bin/
I'm sure you're using a popular window manager like Gnome or KDE, you could easily add it to whatever menu / desktop / panel / start-button the window manger of your choice is using....
btw, don't run that as root....and don't tell me you always login as root, just go make a user and log back on as that then post your reply...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.