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
Hi there,  Deskjet 2540, nearly two months old,  serial number (Personal information removed) When scanned, the image has lots of yellow lines..It got worse recently. Wondering what could be the reason and how to sort this out.. I am on Mac X. MNHi @ [More]
Hi Experts, I am doing initial load in demo system. While doing Material transfer I am facing Product is not defined in supplying plant issue. Though I am transferring master data 1st time to the plants, how can i extend product to the supplying plan [More]
Hi, I have a site A (Brazil) with CUCM and CCX working... But, I need to create another queue with a new agent that will stay at Chile (Site B)... Can I to register the new agent at Brazil CUCM? Can I to create a new queue at Brazil CCX for him? What [More]
Hi all, What is commission list in sd, It should trigger after the execution of the pick list VL70 or VL03N, what r d mandatory field need, plz explain the fuctionality of pick list and the relation with commissionlist reward asure with regards, Tham [More]
hi, upload a image into executable program, with out using  se78. thank you, dinesh.Hi Dinesh use the transaction OAER. PushprajRead other 4 answers [More]
am working with abap dictionary. i have an independent field in my child table that is supposed to be not null and unique. Instead of making it as a primary key field, is there any other way to set these constrains to that field?If unique you can go [More]
I've started getting a window pop up every time I launch safari and try to load my homepage, which is set to google. It says "To view this page, you must log in to this area on www.google.co.uk:80:" It then asks me for a username and password, w [More]
I Have been working on a very comprehensive, very useful spreadsheet in Numbers This spreadsheet has sub-spreadsheets which Numbers created. I want to be able to use a query, enter a "key word" and find  find the information related to the keywo [More]
Hello you wise people, I have wondered is it possible to put billing date to same date like creation date of order? I know you can give rule for determing billing date, you can also give in advance or not, but how you determine that order has been cr [More]
I have 2 accounts set up on my iPhone 3G: 1. MobileMe 2. Exchange via VPN Exchange is my main account that is syncing mail/calendar/accounts MobileMe is syncing only mail and bookmarks When I got the iPhone i had the impression that push for both acc [More]