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 Everyone, We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet) But when i send a msg from my PC to my [More]
I signed up for the Dev Program a few weeks ago as a company and I'm still waiting for a response from Apple. I've read posts saying that individuals were able to get all signed up within days. Is it true that registering as a company takes much long [More]
Hi, i posted this in the prerelease-forum and got no answear so i thought i give it a try and post here. i see it is possible to link to a local pdf file with the webview function. but i want to show a local pdf-file in the app-browser. the one in wh [More]
Hi all, We are devloping one report that will show the inventory of material present on the date specifies by the user. When we run the report system should output the total inventory say 100, and what is the qty present in 0-6 month(say 40 qty recie [More]
hi experts,                 sorry i m going to ask a typical question i m working on hr-abap ,i have developed a module pool in which the database table is updating with some data,what i want that after updation i want to store that data in a infotyp [More]
Hi all, I am working on a IDOC-> JDBC scenario. it works fine in development but in quality i amgetting the following message. Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Er [More]
How do I download all my photos from photo albums onto my hard drive??Ok thank you but i really do not have a bloody clue what I am doing (don't laugh)! so I go into IPhoto and where do I drag my "Albums" to exactly ?? the reason I ask this is b [More]
I get an error when trying to run 'sqlldr'. I'm trying to run in from a Terminal session. The error returned is -bash: /Applications/Oracle/instantclient_10_2/bin/sqlldr: cannot execute binary file do? Any ideas on what the problem may be and/or poss [More]
I have had this phone for a year. This is the second time this has happened. The first time it seemed to fix itself (or at least I don't remember how it got better). Originally the AOL push worked great and mail came instantly. The AOL mail is set to [More]
Hil, OEM made RMAN work strangely. In OEM, after I set some configuration in the "Backup Settings", I found that "Tape Drives" filed is automatically filled with the value: "1". I tested the issue on may machines and the resu [More]