LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-17-2004, 11:31 PM   #1
pbagda
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Cannot execute binary file


Hi i just installed YDL 3.0.1 on my 800mHz iBook and when i try to run a binary file ( counter-strike hlds ) it gives me an error ( cannot execute binary file ) i have no idea what the problem is the permissions to the .bin file are correct ..hmm HELP ! :P

thanks alot for every1 thats going 2 post
 
Old 01-17-2004, 11:59 PM   #2
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
There's different kinds of binary files such as ELF and COFF. You need to find out what kind of binary file it is and then see if it is supported by your kernel.
 
Old 01-18-2004, 12:03 AM   #3
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
btw, I forgot to say it before but to find out what kind of file it is, type

file filename
 
Old 01-18-2004, 02:21 AM   #4
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
well if your going to want to play cs. Your going to need a windows emulator Like Winex and thats a whole nother story.

Or if its teh linux server, you have to give it execute permission. Do this to make permission.

chmod u+x hlds.exe

Good luck
 
Old 01-19-2004, 02:13 AM   #5
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
Did you compile the binary yourself? If not are you sure it has been compiled for PPC architecture?
There is no way you can run an x86 compiled binary on PPC.
 
  


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 On
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??? Wimpie22 Linux - General 3 01-11-2004 05:38 PM
Cannot execute binary file Nooodle007 Linux - Software 2 06-25-2003 02:25 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 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