Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-25-2003, 12:32 PM   #1
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 12:39 PM.
Old 06-25-2003, 12:48 PM   #2
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
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, 01:25 PM   #3
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.


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 01:16 PM
cannot execute binary file babaliciouse Linux - Software 2 10-21-2004 11:50 AM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 01:13 AM
Cannot execute binary file??? Wimpie22 Linux - General 3 01-11-2004 04:38 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 01:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:21 PM.

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