LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2008, 03:18 PM   #16
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38

Hmm, this certainly baffles me. What makyo suggested was that your file-system might have been mounted with the -noexec option, as you see, for instance, with the proc file-system (which is normal, for the proc).

But from all the output you have posted, I cannot see anything wrong. The only thing I have seen so far is that, for some reason, it thinks the file does not exist when you try to execute it.

I also see that each directory in the path /usr/local/bin has the executable bit set for every user, so that is not the problem either.

Can you do the following please:

Code:
cd /usr/local/bin
./bladeenc -br 320 -crc -progress=2 track01.wav
 
Old 01-02-2009, 12:41 AM   #17
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 21

Original Poster
Rep: Reputation: 0
There is a new twist on this:
I tried copying some of the binaries to other directories, like ~/bin, and the system cannot
find them there either.
Something is standing out: it seems like all of the programs that are "not found" are old 32-bit
binaries that I compiled on a 32-bit Linux system with gcc years ago.
Did somebody change something to make the system no longer run 32-bit binaries?

The system is still 64-bit Debian, latest etch release.
 
Old 01-02-2009, 12:47 AM   #18
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 21

Original Poster
Rep: Reputation: 0
binaries not found, anywhere

Quote:
Originally Posted by x_terminat_or_3 View Post
Can you do the following please:

Code:
cd /usr/local/bin
./bladeenc -br 320 -crc -progress=2 track01.wav
And the answer is the same:

bash: ./bladeenc: No such file or directory

== when it is obviously right there.

terry@rebecca:/usr/local/bin$ ls -l bladeenc
-rwxr-xr-x 1 root staff 279056 2004-12-06 10:53 bladeenc

But what if, like I just asked in another post, the system
is now only looking for 64-bit binaries, perhaps discriminating
by something in the header? That bladeenc is an old 32-bit
binary, and so are the others that are not being found.

And like I said, in the other post, copying one of the "not found"
binaries to ~/bin doesn't help or change anything, so it does
not seem to be directory-specific.
 
Old 01-02-2009, 02:13 PM   #19
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,210

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
A 64 bit system should run 32 bit executables just fine.

On one of your "not found" files, what does the "file" command say?

e.g., "file /path/to/not/found/binary"

It should say something like this:

Code:
$ file /sbin/ifconfig
/sbin/ifconfig: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
$
 
Old 04-02-2012, 04:43 PM   #20
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 21

Original Poster
Rep: Reputation: 0
solution to question

I finally figured out what the problem was. I was running binaries that were compiled for 32-bit Linux on a 64-bit Linux system.
 
  


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
bash: /usr/local/bin/CMIX: cannot execute binary file orenmagid Linux - Software 1 07-18-2007 04:16 PM
Error when starting up snort: bash:!/bin/sh/usr/local/bin/snort :Eent not found cynthia_thomas Linux - Software 1 11-11-2005 03:59 PM
/usr/local/bin/modem_run ==>can't find that file freakske Linux - Software 2 11-06-2005 07:15 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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