Author

Topic: Problems executing bitcoind on Raspberry Pi 4 (8GB) with Ubuntu Server (Read 87 times)

HCP
legendary
Activity: 2086
Merit: 4314
Can confirm... I just fired up the Raspberry Pi 4 that I got a few days ago... using Ubuntu Server 20.04.2 LTS 64 Bit for the RPi... you want:
Code:
curl -O https://bitcoincore.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-aarch64-linux-gnu.tar.gz


NOTE: Clicking "ARM Linux" on the Bitcoin Core download page defaults to downloading the 32bit download!!?!... So, you need to click "64 bit" to get the aarch64 version (or right click it to copy the URL for the 64 bit download)
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Are you sure you are using the aarch64 version of Core and not gnueabihf? The latter will not work on Raspberry Pi 4 running a 64-bit OS.

From a related thread:

Quote
Quote
bitcoin-0.20.1-arm-linux-gnueabihf.tar-3

this part may be your issue                                                    


what you want is bitcoin-0.20.1-aarch64-linux-gnu.tar.gz

NOT bitcoin-0.20.1-arm-linux-gnueabihf.tar.gz


you appear to be using the arm-v7 arch, when in fact you would need the arm-v8 64-bit arch build, the RPi 4 uses the arm-v8/aarch64 ISA
jr. member
Activity: 43
Merit: 15
Trying to install and run Bitcoin Core Daemon on a Raspberry Pi 4 8GB w/ Ubuntu Server and unable to execute bitcoind or any of the executables.

**Below are the exact steps I am taking:**

1. 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

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

**Run the following commands:**

Code:
   sudo apt update
    sudo apt upgrade
    sudo reboot
    # Download bitcoin core (I am getting this directly from the link on the site that says ARM Linux 64 Bit - 32 Bit):
    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):

Code:
   bitcoind --help

I have attempted to cd to /usr/local/bin and run

Code:
   ./bitcoind --help

When running:
Code:
ldd /usr/local/bin/bitcoind
I get "not a dynamic executable". Which leads me to believe the bitcoin core executables are not for ARM 64 even though the Bitcoin site says ARM 64 Bit - 32 Bit.


Anyone have any ideas here? I am assuming Ubuntu Server 20.04.2 LTS (RPi 3/4/400) does not come with the correct libraries to run the Bitcoin ARM executables.
Jump to: