LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-11-2004, 12:47 PM   #1
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Rep: Reputation: 15
Talking Cannot execute binary file???


hello

i have a cobalt cube 2 with the newest updates

i wrote a backup program it works at redhat 8.0 but not on my qube 2?



i did

/usr/local/bin

./do-backup
then it says Cannot execute binary file



can anybody help me? thanks already
 
Old 01-11-2004, 01:37 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
A couple of things I can think of:

1) Did you chmod the file so it can execute?

2) Did you compile the binary on your cobalt cube or did you compile it on something else and copy the compiled program over?
 
Old 01-11-2004, 03:29 PM   #3
Wimpie22
Member
 
Registered: May 2003
Posts: 85

Original Poster
Rep: Reputation: 15
i checkt the chmod is oke

i did ./INSTALL then its installs do-backup
 
Old 01-11-2004, 04:38 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
i did ./INSTALL then its installs do-backup
I may be being thick here, but I'm not sure that answers my original question. The reason I'm asking is that I suspect that the cobalt cube runs its own brand of microprocessor (I may be wrong), so if you compiled it on say an x86 system, it simply isn't going to run if you just copy it over

So when you run ./INSTALL does it actually compile do-backup from source or is it copying an already compiled program?
 
  


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 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 Nooodle007 Linux - Software 2 06-25-2003 01:25 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 01:37 AM

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

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