LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2007, 07:44 PM   #1
FCB
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
PROBLEM- cannot execute binary file


I was following the instructions in http://www.cstrike-planet.com/tutori...nstall-CS-16/6 and got up to the part which stated:

If all goes well you should now have the hldsupdatetool.bin in the srcds directory. Now we change the permission of hldsupdatetool.bin so we can execute it and extract the contents from hldsupdatetool.bin
Code:
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

when I do that I get:

hldsupdatetool.bin cannot execute binary file

I have absolutely no idea where to go from here, any ideas?


If it helps- I'm running Yellow Dog Linux 5.0.2 on my sony PS3

Last edited by FCB; 07-26-2007 at 10:42 PM.
 
Old 07-26-2007, 10:12 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Your link is broken, but see if you can extract this and execute it.
 
Old 07-26-2007, 10:50 PM   #3
FCB
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry- fixed the link...

so i downloaded it... but EXECUTE? like- how? I extracted it to the HLDS folder.. i've moved on to:


Now that you have the steam binary file, Type the following command to begin installing CS 1.6

Code:
chmod +x steam
./steam -command update -game cstrike -dir .


but now i get the same binary problem here

Last edited by FCB; 07-26-2007 at 10:58 PM.
 
Old 07-26-2007, 11:12 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
If it helps- I'm running Yellow Dog Linux 5.0.2 on my sony PS3
Yeah, it does...too bad I didn't read it first. You have to get a binary for your architecture (don't know what the PS3 is). That one worked on my machine, but mine's an x86_64.
 
Old 07-27-2007, 05:06 AM   #5
FCB
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I did download a binary though-

Then try to run ./hldsupdatetool.bin again. If that does not work, or you do not have root privileges you can download the binary file we have available:

Code:
wget http://www.cstrike-planet.com/dls/steam


do i also need a different one for

./steam -command update -game cstrike -dir .

?
 
Old 07-27-2007, 05:50 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yeah, but a binary is built for a particular environment. A PowerPC binary won't work on an x86_64 machine and vice versa. Doesn't matter that both are using Linux as the OS. Similarly, a Windows binary won't run on an x86 machine running Linux. Did you download a binary for the PS3 environment that you are try to install in?
 
Old 07-27-2007, 05:53 AM   #7
danaketh
LQ Newbie
 
Registered: Jul 2007
Location: Czech Republic, Prague
Distribution: Debian (stable)
Posts: 25

Rep: Reputation: 15
hmm, maybe you just need to set the file "executable"...

eh... sry... ignore. I overlooked...

Last edited by danaketh; 07-27-2007 at 05:56 AM.
 
Old 07-27-2007, 05:56 AM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by danaketh
hmm, maybe you just need to set the file "executable"...
That's what chmod +x does and the OP stated that (s)he executed that command.
 
Old 07-27-2007, 05:57 AM   #9
danaketh
LQ Newbie
 
Registered: Jul 2007
Location: Czech Republic, Prague
Distribution: Debian (stable)
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by weibullguy
That's what chmod +x does and the OP stated that (s)he executed that command.
yeah... I just overlooked that... he also wrote he set it exec... read carefully next time I must
 
Old 07-27-2007, 03:59 PM   #10
FCB
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
lol so nothing for me guys? damn im screwed lol
 
Old 07-30-2007, 04:43 AM   #11
danaketh
LQ Newbie
 
Registered: Jul 2007
Location: Czech Republic, Prague
Distribution: Debian (stable)
Posts: 25

Rep: Reputation: 15
I'll try yo install and we'll see
 
Old 07-30-2007, 05:08 AM   #12
danaketh
LQ Newbie
 
Registered: Jul 2007
Location: Czech Republic, Prague
Distribution: Debian (stable)
Posts: 25

Rep: Reputation: 15
ok, on PC there is no problem but as weibullguy said, you can't use this binary on PS3, no matter what OS you're running! you have to find PS3 binary (if is any)
 
Old 07-31-2007, 10:08 AM   #13
FCB
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
awww boo... so iguess thats that lol... thanks a lot guys i really apreciate all the help!
 
  


Reply

Tags
ps3, yellowdoglinux



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 Nishant Desai Programming 18 10-27-2008 02:37 PM
Can't execute a binary file inverted.gravity Linux - General 4 08-07-2006 10:08 PM
cannot execute binary file phanee Linux - Software 6 05-25-2006 01:16 PM
Cannot execute binary file??? Wimpie22 Linux - General 3 01-11-2004 04:38 PM
Problem running execute binary file zekko Linux - General 18 08-08-2003 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 AM.

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
Open Source Consulting | Domain Registration