Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: futurefreedom86 on March 26, 2024, 11:25:47 PM



Title: bitcoin-qt/pi 5 /ubuntu
Post by: futurefreedom86 on March 26, 2024, 11:25:47 PM
i keep getting the same error even on a fresh install

bash: /usr/local/bin/bitcoin-qt: cannot execute: required file not found

i tried chmod command. i am really new to coding and linux, any help would be greatly appreciated !


Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: ABCbits on March 27, 2024, 10:16:20 AM
First of all, please provide additional details, such as how did you install Bitcoin Core. But based on the error message, are you sure bitcoin-qt located on /usr/local/bin? Depending on how you install Bitcoin Core, you could find actual location of bitcoin-qt using command which bitcoin-qt.


Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: futurefreedom86 on March 27, 2024, 10:10:47 PM
downloaded "bitcoin-26.0-arm-linux-gnueabihf.tar.gz" from bitcoin core website. did the tar command, then ran the install "sudo install -m 0755 -o root -g root -t /home/user1/Downloads/bitcoin-26.0/bin/* " then the command above. should start qt for the first time? or did i miss a step?



Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: ABCbits on March 28, 2024, 09:48:07 AM
downloaded "bitcoin-26.0-arm-linux-gnueabihf.tar.gz" from bitcoin core website.

I assume you're talking about either bitcoincore.org or bitcoin.org. Anyway, that file is for 32-bit ARM, while Raspberry Pi 5 use 64-bit ARM (with support for 32-bit ARM software), so you better download 64-bit ARM version.

did the tar command, then ran the install "sudo install -m 0755 -o root -g root -t /home/user1/Downloads/bitcoin-26.0/bin/* " then the command above. should start qt for the first time? or did i miss a step?

It's wrong command. That command means you install Bitcoin Core on /home/user1/Downloads/bitcoin-26.0/bin/*. Here's the full right command (i tested it on Debian),

Code:
$ tar xzf bitcoin-26.0-x86_64-linux-gnu.tar.gz
$ cd bitcoin-26.0
$ cd bin
$ sudo install -m 0755 -o root -g root -t /usr/local/bin *
$ which bitcoin-qt
/usr/local/bin/bitcoin-qt


Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: NotATether on March 28, 2024, 02:40:09 PM
downloaded "bitcoin-26.0-arm-linux-gnueabihf.tar.gz" from bitcoin core website. did the tar command, then ran the install "sudo install -m 0755 -o root -g root -t /home/user1/Downloads/bitcoin-26.0/bin/* " then the command above. should start qt for the first time? or did i miss a step?

You are missing the command to install the /lib folders too, I think. It looks like it can't find any of its libraries.

So repeat this command but replace "bin" with "lib" and then Bitcoin Core should start properly.


Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: ABCbits on March 29, 2024, 09:10:31 AM
downloaded "bitcoin-26.0-arm-linux-gnueabihf.tar.gz" from bitcoin core website. did the tar command, then ran the install "sudo install -m 0755 -o root -g root -t /home/user1/Downloads/bitcoin-26.0/bin/* " then the command above. should start qt for the first time? or did i miss a step?

You are missing the command to install the /lib folders too, I think. It looks like it can't find any of its libraries.

So repeat this command but replace "bin" with "lib" and then Bitcoin Core should start properly.

Is it really needed? I don't remember seeing any guide which state to install file on lib folder. Bitcoin Qt also run fine on my Debian device even though i only install file on bin folder where it can start sync.


Title: Re: bitcoin-qt/pi 5 /ubuntu
Post by: NotATether on March 29, 2024, 11:51:09 AM
downloaded "bitcoin-26.0-arm-linux-gnueabihf.tar.gz" from bitcoin core website. did the tar command, then ran the install "sudo install -m 0755 -o root -g root -t /home/user1/Downloads/bitcoin-26.0/bin/* " then the command above. should start qt for the first time? or did i miss a step?

You are missing the command to install the /lib folders too, I think. It looks like it can't find any of its libraries.

So repeat this command but replace "bin" with "lib" and then Bitcoin Core should start properly.

Is it really needed? I don't remember seeing any guide which state to install file on lib folder. Bitcoin Qt also run fine on my Debian device even though i only install file on bin folder where it can start sync.

libbitcoinconsensus.so in the /lib folder is required to start Bitcoin Core I think. It's a fairly recent development.