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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-02-2003, 04:15 PM
|
#1
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Rep:
|
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?
|
|
|
11-02-2003, 04:21 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
binary form as in rpm format?
|
|
|
11-02-2003, 04:49 PM
|
#3
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Original Poster
Rep:
|
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.)
|
|
|
11-02-2003, 04:50 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
have you just tried running it?
./binary_file_name?

|
|
|
11-02-2003, 04:54 PM
|
#5
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Original Poster
Rep:
|
Bash: Linux cannot execute binaries (or something like that).
|
|
|
11-02-2003, 04:58 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
hmm.... how about :
sh ./binary_filename
?
does this file have any extension to it like maybe .so (.so.0, blah blah blah)?

|
|
|
11-02-2003, 04:58 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
11-02-2003, 05:04 PM
|
#8
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Original Poster
Rep:
|
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).
|
|
|
11-02-2003, 05:10 PM
|
#9
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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.
|
|
|
11-02-2003, 06:38 PM
|
#10
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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.
|
|
|
11-02-2003, 06:46 PM
|
#11
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Original Poster
Rep:
|
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.
|
|
|
11-02-2003, 06:52 PM
|
#12
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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
|
|
|
11-02-2003, 08:06 PM
|
#13
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Original Poster
Rep:
|
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.
|
|
|
11-02-2003, 10:55 PM
|
#14
|
Member
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177
Rep:
|
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
|
|
|
11-03-2003, 02:21 PM
|
#15
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|