Sitemap

Amicuk Programming Answers

[solved]cannot execute binary files

-0001-11-30   Views:0

Advertisement

For example, what I'm trying to do: [[email protected] tmp0]$ ls test.cpp [[email protected] tmp0]$ cat ./test.cpp #include <fstream> int main() { printf("here am I"); [[email protected] tmp0]$ g++ ./test.cpp [[email protected] tmp0]$ ./a.out bash: ./

For example, what I'm trying to do:
[[email protected] tmp0]$ ls
test.cpp
[[email protected] tmp0]$ cat ./test.cpp
#include <fstream>
int main() {
printf("here am I");
[[email protected] tmp0]$ g++ ./test.cpp
[[email protected] tmp0]$ ./a.out
bash: ./a.out: Permission denied
[[email protected] tmp0]$ chmod +x ./a.out
[[email protected] tmp0]$ ./a.out
bash: ./a.out: Permission denied
[[email protected] tmp0]$ file ./a.out
./a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
[[email protected] tmp0]$ ldd ./a.out
ldd: warning: you do not have execution permission for `./a.out'
not a dynamic executable
[[email protected] tmp0]$ uname -a
Linux arch 2.6.34-bfs #1 SMP PREEMPT Fri May 21 08:18:49 ALMT 2010 i686 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 AuthenticAMD GNU/Linux
[[email protected] tmp0]$
The same thing when I try to run it from root. Any suggestions?
Last edited by veen (2010-05-23 23:44:17)

The replay answer
Advertisement
unplugged23 wrote:Most desktop enviornments and window managers should allow you to right click on the file, hit properties, and check a little box titled something like 'is executable'
A have already did that:
chmod +x ./a.out
Really, it's strange. Have anyone had similar problem?
upd: the problem actually was in mount options for my home partition.
Last edited by veen (2010-05-23 23:45:35)

Go to See the other 5 answers

[SOLVED] cannot execute binary file / humble bundle

Category:DefaultRelease time:-0001-11-30Views:130

I'm having trouble executing a number of games I've downloaded via Humble Bundle. One game, for example, I downloaded as "supermeatboy-linux-06072012-bin". Here are some of the outputs I get while attempting to execute: $ bash supermeatboy-linux[More]

[solved]cannot execute binary files

Category:DefaultRelease time:-0001-11-30Views:130

For example, what I'm trying to do: [[email protected] tmp0]$ ls test.cpp [[email protected] tmp0]$ cat ./test.cpp #include <fstream> int main() { printf("here am I"); [[email protected] tmp0]$ g++ ./test.cpp [[email protected] tmp0]$ ./a.out bash: ./[More]

64 bit RHEL 4 - runInstaller: cannot execute binary file

Category:DefaultRelease time:2015-10-11Views:130

I have downloaded Forns and Reports services install of application server for itanium linux. When trying to run the installer, I get: /opt/oracle/depot/Disk1/runInstaller: line 135: /opt/oracle/depot/Disk1/install/runInstaller: cannot execute binary[More]

Error: can not execute binary files SAP on Linux

Category:DefaultRelease time:-0001-11-30Views:130

Dear Gurus. I have installed SAP test drive netweaver 2004 on my Linux. when ever i am trying to get the hardware key by the command Saplicense - get, I am getting the error message that " can not execute binary file." pls do let me know how to[More]

/usr/bin/ld: CANNOT EXECUTE binary file!

Category:DefaultRelease time:-0001-11-30Views:130

So whenever I try to compile something, I get to the step checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. And looking at the log, my[More]

I cannot open AirPortDevices Unix Executable file it says  cannot execute binary file

Category:DefaultRelease time:-0001-11-30Views:130

i cannot open AirPortDevices Unix Executable file. when i try it says cannot execute binary fileIf you are wiling to share one of these files via Dropbox, I have a few old Macs floating around that I can use to figure out what files these are, if the[More]

Unable to execute a binary file

Category:DefaultRelease time:-0001-11-30Views:130

I'm trying to run a server following the official instructions (http://www.ventrilo.com/setup.php#Server_Installing), but when I try to execute the binary i get this: [[email protected] ventsrv]$ ./ventrilo_srv bash: ./ventrilo_srv: No such file or directory [[More]

Command not found on running binary files.

Category:DefaultRelease time:2015-10-11Views:130

I have a very strange problem with my new arch installation, which I never faced on other linux installations/distros. I'm trying to execute binary files from android-sdk, which I have them from other distros and always worked, and I get always "comm[More]

CVM binary file

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, I'm trying to execute cvm, which I got from CDC build environment system. When I tryi to execute it on my linux platform, "-bash: /usr/bin/cvm: cannot execute binary file" error message comes out of command line. Do you know what went wr[More]

Read binary files that are wraped in the downloaded executable signed jar

Category:DefaultRelease time:2015-10-11Views:130

Hello, there: I have created a Swing application and created a signed jar file and uploaded it to my site. The signed jar includes class packages, and a folder of binary files which are the datasource for my application. jws downloads this signed exe[More]

Failed to execute default file manager (Input /Output Error) [SOLVED]

Category:DefaultRelease time:-0001-11-30Views:130

I'm having an issue in XFCE where the default Terminal, Browser and File Manager launch correctly - but with this error: Failed to execute default [file manager] [terminal emulator] [browser] Input /Output Error I have the requisite  "Preferred Appli[More]

Hot
Hello, I am trying make a traceroute in Java. Since i didn't an API to make things easier on me. I have a class 'Traceroute' like this: public class Traceroute {     OSstuff OS = new OSstuff();     Process trace;     public Traceroute(){     public L [More]
I recently re-installed OSX Leopard & iWork.  Since then, Keynote 09 will not open at all.  I've never had any problem with it before.  The icon just bounces in the dock & then gives me the error message "The application Keynote quit unexpect [More]
I have a macbook pro 2008 with operating system Maverick.  Today I was asked to join i cloud.  I do not want to join i cloud.  I just want to keep my computer as it is with the new operating system.  It seems I now joined I cloud and cannot shut down [More]
Hi all, I m having few issues in my server... I get the following error in the alert log of oracle.. There are many errors 1) No space left on device 2) ARC0: I/O error 19502 archiving log 1 to '/oracle/admin/SNM/arch/arch_1_393_668727286.arc' ARCH: [More]
i am stuck with the following simple syntax.. i need to pull the oldest billnumber ..ultimately i need to see the ticket number with the oldest date . here is my select statement using an openquery from SQL server to oracle.. (SELECT * FROM OPENQUERY [More]
Can we do account determination with out account keys? and explains how?Hi Gopal, Account determination is an FI interface with other modules inorder to determine the right G/L accounts for posting. And account keys act as a bridge for posting the am [More]
Hi all, Could anyone please provide me with some inputs or documents/ templates on Effort estimation of developments in ABAP?? I have done the initial analysis, but not sure what should be the base of measuring the complexity and time for an object? [More]
I am color grading a feature film in DaVinci and the person who edited the film only logged the footage in premiere and not even all of it. So, as far as I know, the only simple solution is to use project manager to transfer all the files with their [More]
HelpOk...understood... This was the first thing that came to mind. my backup size is a little over 26 GB and I have a little over 28 GB free space on my hard drive, is this free space sufficient, would I need to free-up more space and if so, how much [More]
hi...i have a real problem i keep getting in game when i want ot buy something ...ur purchase could not be for assistance contact itunes suppocompleted rt any help plzzzz????Slow down, take a deep breath and start over. Use complete sentences so your [More]