Results 1 to 6 of 6
on many programs I try to run from an extracted tar.gz file I get this message saying that it cannot run a binary code. What is going on?
Here is ...
- 12-20-2006 #1
Can't Run Binary code?
on many programs I try to run from an extracted tar.gz file I get this message saying that it cannot run a binary code. What is going on?
Here is an example of what I try todo:
kirk@linux-n4y1:~> cd /home/kirk/downloads/TerminusDemoLinuxFull
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull> sh terminus
terminus: terminus: cannot execute binary file
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull>"Do or do not...there is no try" -Yoda
History is a set of lies agreed upon by the winners.
Linux is user friendly, not idiot friendly.
Linux User 437442
- 12-21-2006 #2
Check that it's executable.
Do:If it doesn't show any executable flags, doCode:ls -l terminus
Code:chmod +x terminus
Stand up and be counted as a Linux user!
- 12-21-2006 #3
This is what happens:
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull> ls -l terminus
-rwxr-xr-x 1 kirk users 1759216 2000-06-14 06:39 terminus
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull> chmod +x terminus
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull> sh terminus
terminus: terminus: cannot execute binary file
kirk@linux-n4y1:~/downloads/TerminusDemoLinuxFull>
do I have to be in root?"Do or do not...there is no try" -Yoda
History is a set of lies agreed upon by the winners.
Linux is user friendly, not idiot friendly.
Linux User 437442
- 12-21-2006 #4
No, you shouldn't need to be root. Everyone has permission to execute the program.
From Googling a bit, it looks like the "cannot execute binary file" message comes when you're trying to run a program that was compiled for a different architecture. So if you're running an x86 Linux kernel and you downloaded the x86-64 version of the program (or the PPC, Alpha, Sparc, ARM, or other version), it won't run.Stand up and be counted as a Linux user!
- 12-21-2006 #5
k...how would i check to see if i have the right version?
"Do or do not...there is no try" -Yoda
History is a set of lies agreed upon by the winners.
Linux is user friendly, not idiot friendly.
Linux User 437442
- 12-22-2006 #6
I'm really confused because on most web sites that have a tar.gz file it dosn't mention the exact Linux flavors that it can run one. Help anyone?
"Do or do not...there is no try" -Yoda
History is a set of lies agreed upon by the winners.
Linux is user friendly, not idiot friendly.
Linux User 437442


Reply With Quote