Bitcoin Forum
April 25, 2024, 01:39:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problems executing bitcoind on Raspberry Pi 4 (8GB) with Ubuntu Server  (Read 86 times)
dipepmining (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 15


View Profile
March 02, 2021, 09:13:34 PM
Last edit: March 02, 2021, 09:53:36 PM by dipepmining
Merited by LoyceV (4), ABCbits (2)
 #1

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.
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6679


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 03, 2021, 06:27:06 AM
Merited by ABCbits (1), HCP (1)
 #2

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:

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

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 03, 2021, 01:00:03 PM
 #3

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)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!