Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X32 program - no such file error

9 views
Skip to first unread message

B. P. TBC

unread,
Mar 1, 2021, 2:43:00 AM3/1/21
to
Hi

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?

Thanks:
P.

Richard Kettlewell

unread,
Mar 1, 2021, 4:34:31 AM3/1/21
to
You will need at least libc6-x32. You will also need to enable x32
support in the kernel.

I don’t know why you’d bother though. Nobody uses it.

--
https://www.greenend.org.uk/rjk/

B. P. TBC

unread,
Mar 4, 2021, 2:50:43 PM3/4/21
to
2021. 03. 01. 10:34 keltezéssel, Richard Kettlewell írta:

> You will need at least libc6-x32. You will also need to enable x32
> support in the kernel.

Thank you! It works.

> I don’t know why you’d bother though. Nobody uses it.
I know. I try it just for fun. :)


Avis Drożniak

unread,
Mar 6, 2021, 10:53:26 AM3/6/21
to
Try `chmod +x (file)`

Avis

Richard Kettlewell

unread,
Mar 6, 2021, 12:18:22 PM3/6/21
to
> Try `chmod +x (file)`

“No such file or directory” is not a permissions error.

--
https://www.greenend.org.uk/rjk/

William Unruh

unread,
Mar 6, 2021, 4:15:11 PM3/6/21
to
Try that anyway, but it may also be that some library is missing.
>

Stéphane CARPENTIER

unread,
Mar 6, 2021, 4:32:36 PM3/6/21
to
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
0 new messages