Re: X32 program - no such file error

Stéphane CARPENTIER <[email protected]> 06 Mar 2021 21:32:36 GMT
Newsgroups alt.comp.linux,alt.comp.os.linux
Organization Mulots' Killer
Message-ID <[email protected]>
Le 06-03-2021, William Unruh <[email protected]> a écrit :
> On 2021-03-06, Richard Kettlewell <[email protected]> wrote:
>> Avis Drożniak <[email protected]> writes:
>>> On 3/1/21 8:42 AM, B. P. TBC wrote:
>>>> I wrote a simple "hello world" C program, and I compiled it to X32
>>>> (not x86) architecture. (gcc -mx32 parameter.) On my Linux Mint 18.04
>>>> 64bit computer that ran without error. But on my other computer
>>>> (Linux Mint 18.04 64bit) I got an error: bash: (filename): no such
>>>> file or directory. How can I run an X32 program? What must I install?
>>>
>>> Try `chmod +x (file)`
>>
>> “No such file or directory” is not a permissions error.
>
> Try that anyway, but it may also be that some library is missing. 

Without knowing anything, with an error message like the one he gets,
adding a "./" before the command is really the way to help. If he has an
permission error message after that, then the chmod can help. But it's
the second step.

-- 
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io