> when I try to use it the system says "file not found".
Did you use an absolute path to the executable?
Sometimes a "broken" OS will give that error if it can't find the 'interpreter" for the executable.
For Linux, it mentions "bad interpreter" and its name.