LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-22-2011, 12:48 AM   #1
Satan's_Little_Helper
LQ Newbie
 
Registered: Aug 2011
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
File is there, but attempted execution results in: No such file or directory


The file is there. I'm looking right at it. I can rename it and even move it. But if I try to run it I get an error telling me it's not there. Am I missing something??

Code:
slh352@kenny10:~/Applications/yasara
$ ls
dat/           pdb/  yasara*     yasara.etf  yasara.rgb  yasara.zbf
doc/           png/  yasara.as2  yasara.fof  yasara.rs1  yasmovie*

slh352@kenny10:~/Applications/yasara
$ ./yasara
-bash: ./yasara: No such file or directory

slh352@kenny10:~/Applications/yasara
$ ls -l yasara
-rwxr-xr-x 1 slh352 slh352 8081935 2011-08-17 23:59 yasara*
System info:
Linux kenny10.bio.kyu.edu 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
 
Old 08-22-2011, 12:57 AM   #2
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 513

Rep: Reputation: 160Reputation: 160
What about
Code:
 $ file ./yasara
?
 
Old 08-22-2011, 01:19 AM   #3
Satan's_Little_Helper
LQ Newbie
 
Registered: Aug 2011
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
$ file ./yasara

$ file ./yasara
./yasara: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
 
Old 08-22-2011, 01:30 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,430

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
Quote:
System info:
Linux kenny10.bio.kyu.edu 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux
Quote:
ELF 32-bit LSB executable
You are trying to run a 32-bit executable on a 64-bit system.
Either recompile to 64-bit or investigate a multilib setup.
 
Old 08-22-2011, 02:18 AM   #5
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 867

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by allend View Post
You are trying to run a 32-bit executable on a 64-bit system.
Either recompile to 64-bit or investigate a multilib setup.
you should check your kernel config file to see if your kernel is setup to run 32 bit machine code
 
Old 09-01-2011, 10:40 PM   #6
Satan's_Little_Helper
LQ Newbie
 
Registered: Aug 2011
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
sudo apt-get install ia32-libs

fixes the problem, although I can't fathom why the 32 bit libraries wouldn't be installed by default. The really irritating bit is the non-helpful error message: "file not found".

Thanks for quick help!
 
  


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
[SOLVED] sqlplus query results with spool file go to display and file steven.c.banks Linux - General 2 06-06-2011 04:13 PM
[SOLVED] su results in Cannot execute bash: No such file or directory gujedan Linux - Newbie 1 02-13-2011 02:24 PM
Get first file of directory then copy to other directory andd rename the file Faye Linux - Software 4 01-30-2011 10:16 AM
script execution - file/directory permission issue serksimper Linux - Enterprise 1 08-10-2005 04:01 PM
Perl file conversion results in a truncated file kshaffer Programming 0 01-31-2005 03:31 PM


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