Executables that can not be found

I seem to be having problems running an executable in any other directory
other
than “/bin” - I am “root” and the file I’m trying to execute has been
downloaded using
ftp into a /home type director. I have done a chmod 777 filename but to no
avail.
The file runs OK when copied to the “/bin” directory ?

Any other ideas - It exists when the directory is listed but when it is
executed QNX
says “no such file or directory”

[Posted and mailed]

In article <9c9g1d$o13$1@inn.qnx.com>, “Bob miles”
<rmiles@radamec.co.uk> writes:

I seem to be having problems running an executable in any other
directory other than “/bin” - I am “root” and the file I’m trying to
execute has been downloaded using ftp into a /home type director. I
have done a chmod 777 filename but to no avail. The file runs OK
when copied to the “/bin” directory ?

silly question maybe: is the directory you put you new binary in listed
in your PATH ? Did you try prepending ./ to your program (given that
you’re in the same folder) ?

groetjes,
Hans Lambermont

http://lambermont.webhop.org/