LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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-01-2009, 11:41 PM   #17
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 28

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-01-2009, 11:47 PM   #18
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 28

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, 01:13 PM   #19
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 03:43 PM   #20
Orange13
LQ Newbie
 
Registered: May 2007
Posts: 28

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



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 03: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 02:59 PM
/usr/local/bin/modem_run ==>can't find that file freakske Linux - Software 2 11-06-2005 06: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 01:02 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

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

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