LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2003, 04:15 PM   #1
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
What do with binaries?


I have gotten several programs I want, but they are in binary form. What do I do with them to use my program?
 
Old 11-02-2003, 04:21 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
binary form as in rpm format?
 
Old 11-02-2003, 04:49 PM   #3
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by megaspaz
binary form as in rpm format?
Nope, a regular binary, after I have already unRPM'ed it. (this one I'm interested in actually come out of an RPM. It was the only file in there.)
 
Old 11-02-2003, 04:50 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
have you just tried running it?

./binary_file_name?

 
Old 11-02-2003, 04:54 PM   #5
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
Bash: Linux cannot execute binaries (or something like that).
 
Old 11-02-2003, 04:58 PM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
hmm.... how about:

sh ./binary_filename

?

does this file have any extension to it like maybe .so (.so.0, blah blah blah)?

 
Old 11-02-2003, 04:58 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
copy & paste the terminal session?

Also, do an ls -l </your/binary>
to see whether it actually is flagged executable.
Otherwise, just try
sh </your/binary>

Cheers,
Tink
 
Old 11-02-2003, 05:04 PM   #8
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
I didn't think about trying to shell it. Also, I have yet to pull off a copy & paste maneuver from a konsole. The file is actually /home/lectra/spc/OpenSPC (no extension).
 
Old 11-02-2003, 05:10 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Also, I have yet to pull off a copy & paste maneuver from a konsole.
click left mouse button in top-left corner,
drag to bottom-right corner, release mouse
button.

Switch to web-browser, middle click in
entry field.

Cheers,
Tink

Last edited by Tinkster; 11-02-2003 at 05:11 PM.
 
Old 11-02-2003, 06:38 PM   #10
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
What do with binaries?

Personally, I like to sprinkle them onto a flat roasting try, place them in a pre-heated oven, gas mark 4 or 160 deg C for 15 to 20 minutes, then sprinkle with salt, pepper and just a splash of tabasco. Let them cool, then place in a "finger bowl".

Just right with a couple of ice cold "tinnies"

regards

John

p.s. sorry, couldn't resist.
 
Old 11-02-2003, 06:46 PM   #11
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by bigjohn
What do with binaries?

Personally, I like to sprinkle them onto a flat roasting try, place them in a pre-heated oven, gas mark 4 or 160 deg C for 15 to 20 minutes, then sprinkle with salt, pepper and just a splash of tabasco. Let them cool, then place in a "finger bowl".

Just right with a couple of ice cold "tinnies"

regards

John

p.s. sorry, couldn't resist.
(crickets chirping)
Boo!

I don't have internet under Linux, so I guess a Text File will have to do.

Also, I'm telling you exactly what it's telling me. Bash is telling me that it can't execute binaries. It says so on one line about thirty characters or so long.
 
Old 11-02-2003, 06:52 PM   #12
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
if the binary has come out of an rpm, is it an install type thing i.e. have you tried to run them as root?

Surely there must be some sort of install script or .sh type thing you could try (or just have a google to see if there is any readme doc that's available).

What is the binary that's causing the problem anyway ??

regards

John
 
Old 11-02-2003, 08:06 PM   #13
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
This is the first binary I tried to run. It is called OpenSPC. My path to it is /home/lectra/spc/OpenSPC and trying to run gives me the message "bash-OpenSPC-cannot execute binaries" and shelling it will say "OpenSPC-cannon execute binaries". It may be intended for use with XMMS. How would I use it for that if I can't trigger it via konsole?

All the docs I found for it have been in japanese. I got it from a site that is dedicated to the purpose this file fulfils.

Google gives me nothing in peticular.

btw: I did give it executeable priveleges.

Last edited by lectraplayer; 11-02-2003 at 08:23 PM.
 
Old 11-02-2003, 10:55 PM   #14
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
It's not an executable file
You can open it with another program but not run directly it

v.g: take an .mp3 or .jpg file and give it executable privileges; you'll receive the same answer
 
Old 11-03-2003, 02:21 PM   #15
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
This is what I got out of google, so I presume that you would have to have the libraries and then maybe something like xmms "might" play it/them.

Any help ???

regards

John
 
  


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
replacing binaries kamtono Linux - Security 13 08-01-2005 02:21 PM
Filer out binaries teeno Linux - Newbie 8 03-09-2004 05:15 AM
removing binaries ehdwuld Linux - Software 3 09-17-2003 06:49 PM
RPM's and Binaries vierstein Linux - Newbie 4 09-12-2003 07:03 PM
Binaries socks Linux - Newbie 1 11-20-2002 09:39 AM

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

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration