From: Baruch Siach via buildroot <buildroot@buildroot.org>
To: Ugroon} Hackerone <h1ugroon@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] How to run an executable file
Date: Fri, 20 May 2022 08:24:55 +0300 [thread overview]
Message-ID: <87czg8n55k.fsf@tarshish> (raw)
In-Reply-To: <CAJiigQmUmhkv+AMuz2eF1kbi=_-VGEAmWTN40aUbvbTqA9+5dQ@mail.gmail.com>
Hi Ugroon,
On Fri, May 20 2022, Ugroon} Hackerone wrote:
> I have an executable file and when I try to run it with "chmod +x
> file" and "./file" I'm getting command not found: ./file error. So I
> just want to learn how to execute this file?
>
> Note: The output of "file file" is Elf x64
The most common reason for "not found" error on running an executable is
that one or more of needed shared library is missing. The command
readelf -d file
will list the needed libraries, as well as more information on the
dynamic section of the ELF executable. Make sure you have all listed
shared libraries.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-05-20 5:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 5:22 [Buildroot] How to run an executable file Ugroon} Hackerone
2022-05-20 5:24 ` Baruch Siach via buildroot [this message]
2022-05-20 10:17 ` David Laight
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czg8n55k.fsf@tarshish \
--to=buildroot@buildroot.org \
--cc=baruch@tkos.co.il \
--cc=h1ugroon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox