LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-25-2006, 03:53 AM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
File not there?


Could someone explain this?

ion@protos:~/OMNI> ls -l
-rwxrwxrwx 1 ion users 541756 1997-09-22 00:58 ob_sw

This would indicate that I have a file executable by all users, but when I try to execute it...

ion@protos:~/OMNI> ./ob_sw
bash: ./ob_sw: No such file or directory

Perhaps the file is damaged, but it is there.
 
Old 08-25-2006, 04:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm, the errors bash gives from executing files can be a bit misleading, what actually is the file? maybe it's not finding a suitable interpret for it? what if you do "sh ob_sw" ? if it's a text fail, can you, for example, do a "head ob_sw" to show the first few lines of it?
 
Old 08-25-2006, 01:49 PM   #3
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by acid_kewpie
hmm, the errors bash gives from executing files can be a bit misleading, what actually is the file? maybe it's not finding a suitable interpret for it? what if you do "sh ob_sw" ? if it's a text fail, can you, for example, do a "head ob_sw" to show the first few lines of it?
ob_sw is OmniBasic, a compiled BASIC. It runs on my home computer which unfortunately is 5000 kilometers away. On that computer, when it errors out the errors are reported correctly. What I am curious about is why bash reports the file is not there. By the way I got exactly the same error on another BASIC I installed and have since deleted. Might have been yabasic or cbasic.

I have since managed to install RapidQ, a BASIC compiler that actually works and is well documented, so I don't REALLY need an answer. Just trying to satisfy my curiosity, so don't waste too much thought on it.

Thanks, and here are the reponses to your questions.

ion@protos:~/OMNI> sh ob_sw
ob_sw: ob_sw: cannot execute binary file

ion@protos:~/OMNI> head ob_sw
EL44 (7�Ԁ
7
/lib/ld-linux.so.1



�X�*0%

6@ <7

F4W"]""hm"""}7

& ">�D�@��
�$
Z �%
��4�4Q�libm.so.5_DYNAMIC_GLOBAL_OFFSET_TABLE__init_finierrno__environatexitlibc.so.5closewritereadex itopenputslseekenvironsystemlongjmp__setjmpatofatoi__libc_initunlink__setfpucw__fpu_control_errno__u divdi3__umoddi3_etelptx|�ta�_bss_start_endD▒@dh�


...and a lot more non-printable characters.
 
  


Reply



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
forrtl: severe (47): write to READONLY file, unit 5, file /dev/pts/1 terrence Programming 1 10-01-2005 10:22 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
Is arrangement of file systems will differ if we copy a file from FAT 32 to ext 3 ? anindyanuri Linux - Software 2 02-20-2005 11:39 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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