<p>Edit: you’re using the wrong architecture <code>bitcoind</code> binary, <code>gnueabihf</code> means armv7 hard float, which is 32-bit. There are 3 possibilities:</p>
<ol>
<li>Download the correct Bitcoin binary for arm64 architecture (preferred);</li>
<li>Use 32-bit OS;</li>
<li>Install 32-bit compatibility layer on 64-bit OS.</li>
</ol>
<p>—</p>
<p>Type <code>ldd /usr/local/bin/bitcoind</code> to check what libraries you’re missing. Most likely the only thing you need to do is to update your <code>/etc/ld.so.cache</code> by executing <code>ldconfig</code>.</p>
<p>ps: if you want to run a binary from the current directory, e.g. after switching to <code>/usr/local/bin</code>, you should type <code>./bitcoind</code>, not just <code>bitcoind</code>.</p>

CC BY-SA 4.0
2021-03-02T15:34:33.183Z
I had a feeling it was something like this after all of the research I have been doing. Is there a problem with the Bitcoin download page? https://bitcoin.org/en/download. The one I am downloading is ARM Linux
64 bit - 32 bit (Maybe this isn't a good match for Ubuntu Server 64bit on RaspPi?). When running ldd I get "not a dynamic executable". Switching to /usr/local/bin and running ./bitcoind still gives the following message: -bash: ./bitcoind: No such file or directory. I do believe this is an architecture mismatch problem, or I do not have a required library.
Blake Rivell
CC BY-SA 4.0
2021-03-03T13:56:26.423Z
The correct link is https://bitcoin.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-aarch64-linux-gnu.tar.gz - aarch64 is the name of the architecture that you need. You’ll see the same in the output of `uname -a`.
leshik
CC BY-SA 4.0
2021-03-04T07:10:26.870Z
Going to mark this as the correct answer if you want to update the description. Thank you so much! They should definitely put that option in the list on the main page. It is kind of hidden in the downloads directory only.
Blake Rivell
CC BY-SA 4.0
2021-04-24T02:11:41.803Z
Just wanted to say thanks for that, tried installing the ARM version showing on the bitcoin.org website but it didn't work.  But going directly to their download directory I found this other version, thanks!  Running bitcoind on Ubuntu 20.10 on a Raspberry Pie with 1TB Sata M2 drive attached via USB3.
Tom
CC BY-SA 4.0
2021-03-02T13:52:28.740Z
2021-03-02T14:01:53.497Z
2021-03-02T14:01:53.497Z
leshik
<p>Trying to install and run Bitcoin Core Daemon on a Raspberry Pi 4 8GB w/ Ubuntu Server and unable to execute bitcoind.</p>
<p><strong>Below are the exact steps I am taking:</strong></p>
<ol>
<li><p>Use Raspberry Pi imager to flash the Ubuntu Server image to an SD card:
Ubuntu Server 20.04.2 LTS (RPi 3/4/400)
64-bit server OS with long-term support for arm64 architectures</p>
</li>
<li><p>Insert the SD card, turn on the Raspberry Pi, SSH in.</p>
</li>
</ol>
<p><strong>Run the following commands:</strong></p>
<pre><code>sudo apt update
sudo apt upgrade
sudo reboot
# Download bitcoin core: 
curl -O https://bitcoin.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-arm-linux-gnueabihf.tar.gz
# Unzip
tar xzf bitcoin-0.21.0-arm-linux-gnueabihf.tar.gz
#Install
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.21.0/bin/*
</code></pre>
<p>When running the following I get the message (bash: /usr/local/bin/bitcoind: No such file or directory):</p>
<pre><code>bitcoind --help
</code></pre>
<p>I have attempted to cd to /usr/local/bin and run</p>
<pre><code>bitcoind --help
</code></pre>
<p>Still no luck</p>

<bitcoin-core><bitcoind><full-node><ubuntu><raspberry-pi>
bitcoind no such file or directory when trying to execute on Ubuntu for Raspberry Pi 4
Blake Rivell
# bitcoind no such file or directory when trying to execute on Ubuntu for Raspberry Pi 4

(Asked by: username_0 on 2021-03-02)

Trying to install and run Bitcoin Core Daemon on a Raspberry Pi 4 8GB w/ Ubuntu Server and unable to execute bitcoind.
Below are the exact steps I am taking:

Use Raspberry Pi imager to flash the Ubuntu Server image to an SD card:
Ubuntu Server 20.04.2 LTS (RPi 3/4/400)
64-bit server OS with long-term support for arm64 architectures

Insert the SD card, turn on the Raspberry Pi, SSH in.


Run the following commands:
sudo apt update
sudo apt upgrade
sudo reboot
# Download bitcoin core: 
curl -O https://bitcoin.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-arm-linux-gnueabihf.tar.gz
# Unzip
tar xzf bitcoin-0.21.0-arm-linux-gnueabihf.tar.gz
#Install
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.21.0/bin/*

When running the following I get the message (bash: /usr/local/bin/bitcoind: No such file or directory):
bitcoind --help

I have attempted to cd to /usr/local/bin and run
bitcoind --help

Still no luck

**Tags:** bitcoin-core, bitcoind, full-node, ubuntu, raspberry-pi


---

## 1 answers

### Answer by username_1 on 2021-03-02. Score: 6 | Accepted answer

Edit: you’re using the wrong architecture `bitcoind` binary, `gnueabihf` means armv7 hard float, which is 32-bit. There are 3 possibilities:

1. Download the correct Bitcoin binary for arm64 architecture (preferred);
2. Use 32-bit OS;
3. Install 32-bit compatibility layer on 64-bit OS.

—

Type `ldd /usr/local/bin/bitcoind` to check what libraries you’re missing. Most likely the only thing you need to do is to update your `/etc/ld.so.cache` by executing `ldconfig`.

ps: if you want to run a binary from the current directory, e.g. after switching to `/usr/local/bin`, you should type `./bitcoind`, not just `bitcoind`.

> **Comments:**
> **username_0**: I had a feeling it was something like this after all of the research I have been doing. Is there a problem with the Bitcoin download page? https://bitcoin.org/en/download. The one I am downloading is ARM Linux 64 bit - 32 bit (Maybe this isn't a good match for Ubuntu Server 64bit on RaspPi?). When running ldd I get "not a dynamic executable". Switching to /usr/local/bin and running ./bitcoind still gives the following message: -bash: ./bitcoind: No such file or directory. I do believe this is an architecture mismatch problem, or I do not have a required library.  
> **username_1**: The correct link is https://bitcoin.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-aarch64-linux-gnu.tar.gz - aarch64 is the name of the architecture that you need. You’ll see the same in the output of `uname -a`.  
> **username_0**: Going to mark this as the correct answer if you want to update the description. Thank you so much! They should definitely put that option in the list on the main page. It is kind of hidden in the downloads directory only.  
> **username_2**: Just wanted to say thanks for that, tried installing the ARM version showing on the bitcoin.org website but it didn't work.  But going directly to their download directory I found this other version, thanks!  Running bitcoind on Ubuntu 20.10 on a Raspberry Pie with 1TB Sata M2 drive attached via USB3.  

---

