Re: Problem while starting binary...-No such file or directory

Richard B. Johnson (root@chaos.analogic.com)
Tue, 16 Feb 1999 14:03:14 -0500 (EST)


On Tue, 16 Feb 1999, Michael Mess wrote:

> Hi!
>
> When I try to start the netscape-binary (netscape 4.5) I only get the
> message "No such file or directory".
> Is this a (known) kernel bug?
> It seems that strace cannot exec the file at all. But it doesn't seem to
> be a problem of the PATH environement.
> But why does it say "No such file or directory"?
>

Your Netscape was either linked against a library you don't have, is
an a.out binary with no "a.out" support in the kernel, or is an ELF
executable with no "ELF" support in the kernel. Strace can start because
the executable can't start. Such problems with copying executables
between machines can be fixed by linking it --static on the machine
you copied it from, then copying it.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.1 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/