lkml.org 
[lkml]   [2010]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: execve() returns ENOENT when ld-linux.so isn't found
From
On Thu, Mar 18, 2010 at 3:42 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> Hi,
>
> When you try to execute an x86 binary on a x64 system, execve()
> returns ENOENT when ld-linux.so isn't found
> Wouldn't ENOEXEC be more appropriate?
>
>> An executable is not in a recognized format, is for the wrong architecture, or has some other format error that means it cannot be executed.
>
> This just doesn't make any sense:
>
> $ ls -l
> -rwxr-xr-x 1 olaf olaf 560165 2010-03-18 15:21 xwis
> $ ./xwis
> -bash: ./xwis: No such file or directory

This is the right list, isn't it?

Olaf


\
 
 \ /
  Last update: 2010-03-24 14:37    [W:0.088 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site