LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-25-2003, 01:32 PM   #1
Nooodle007
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Cannot execute binary file


I am a new user to SuSE and am having problems running an executable. This particular .exe was built in Windows, using a utility that can create executables to run on both Windows and Linux. When I try running the .exe from the Konsole, I receive the following error:

bash: ./test.exe: cannot execute binary file

I performed a chmod to give full access and I still receive that error. Why can't I run this .exe? When I type "file test.exe" it says:

test.exe: MS Windows PE 32-bit Intel 80386 console executable not relocatable

Last edited by Nooodle007; 06-25-2003 at 01:39 PM.
 
Old 06-25-2003, 01:48 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
So you have done a "chmod +x file"?

If so, then its not executable in Linux. You must have built it wrong. I havent really seen any crossplatform binaries that dont need any recompiling.
 
Old 06-25-2003, 02:25 PM   #3
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Rep: Reputation: 30
It's an executable file, try this:

wine file.exe

A windows executable file cannot be executed, but wine will execute it if it is installed on your system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot execute binary file Quest101 Linux From Scratch 8 11-19-2004 02:16 PM
cannot execute binary file babaliciouse Linux - Software 2 10-21-2004 12:50 PM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 02:13 AM
Cannot execute binary file??? Wimpie22 Linux - General 3 01-11-2004 05:38 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 02:37 AM


All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration