[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
system.
Chet
--
``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/
- Misleading error when attempting to run foreign executable, Andrea Monaco, 2021/10/03
- Re: Misleading error when attempting to run foreign executable, Alex fxmbsw7 Ratchev, 2021/10/03
- Re: Misleading error when attempting to run foreign executable,
Chet Ramey <=
- Re: Misleading error when attempting to run foreign executable, Ilkka Virta, 2021/10/04
- Re: Misleading error when attempting to run foreign executable, Dennis Williamson, 2021/10/04
- Re: Misleading error when attempting to run foreign executable, Chet Ramey, 2021/10/08
- Re: Misleading error when attempting to run foreign executable, Alex fxmbsw7 Ratchev, 2021/10/09
- Re: Misleading error when attempting to run foreign executable, Ángel, 2021/10/10
- Re: Misleading error when attempting to run foreign executable, Dmitry Goncharov, 2021/10/10
- Re: Misleading error when attempting to run foreign executable, Eli Schwartz, 2021/10/10
- Re: Misleading error when attempting to run foreign executable, Dmitry Goncharov, 2021/10/10
- Re: Misleading error when attempting to run foreign executable, Robert Elz, 2021/10/11
- Re: Misleading error when attempting to run foreign executable, Chet Ramey, 2021/10/11