[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Misleading error when attempting to run foreign executable

From: Chet Ramey
Subject: Re: Misleading error when attempting to run foreign executable
Date: Mon, 4 Oct 2021 09:45:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 10/3/21 6:05 PM, Andrea Monaco wrote:
> Hello,
> I'm using bash 5.0.3 on GNU/Linux. When I mount a GNU/Hurd filesystem and
> try to run an executable found there, I get for example:
>   bash: ./ext2fs: No such file or directory
> This seems a misleading error to me. The file is there and is
> executable, I guess it can't be run on my system but I think that
> another error message would be more appropriate.
> Is this an issue with bash or maybe with the kernel?

Bash reports the error it gets back from execve. In this case, it's
probably that the loader specified for the executable isn't present on your


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]