Re: execve() returns ENOENT when ld-linux.so isn't found

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: drepper
Date: Wednesday, March 24, 2010 - 6:49 am

On Thu, Mar 18, 2010 at 07:42, Olaf van der Spek <olafvdspek@gmail.com> wrote:

Your shell should handle this.  I'm not sure whether it's in the upstream bash (it should be) but I wrote a long, long time ago a patch which produces better messages.  On my system I get:

$ ./u
bash: ./u: /some/path/does-not-exist: bad ELF interpreter: No such file or directory


It doesn't really matter what the kernel returns.  The shell should do its job and at least the RHEL/Fedora version does it for a long time now.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: execve() returns ENOENT when ld-linux.so isn't found, drepper, (Wed Mar 24, 6:49 am)
Re: execve() returns ENOENT when ld-linux.so isn't found, Olaf van der Spek, (Wed Mar 24, 3:10 pm)