-
-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install on Ubuntu (missing libstdc++6) #45
Comments
What actually helped for me I went into this file, and on the first line https://github.com/trezor/blockbook/blob/master/build/docker/bin/Dockerfile I replaced https://github.com/trezor/blockbook/blob/master/build/docker/bin/Dockerfile#L3 with
That made the resulting deb installable |
According to manual there is
seems like |
Just a note that at the time of the creation of this issue the documentation was not so specific about the required platform as it is now. |
It is - https://karelchain.com is running on ubuntu. I just needed to change the Dockerfile for the blockbook deb |
I had a similar problem with installing Blockbook on 18.04, a similar change to the Dockerfile made it install w/o any issues by changing the first line of: with
Thanks @karel-3d! |
On Debian 10, there is a similar error with
I have edited /blockbook/build/docker/bin/Dockerfile And have repeated |
Build on Ubuntu 20.04.01 LTS: cd /opt
git clone --recursive https://github.com/trezor/blockbook
cd blockbook
# 1. Change source to Ubuntu 20.04
# 2. Set non-interactive installation for TZData as it freezes after Geo area selection
# https://serverfault.com/questions/949991/how-to-install-tzdata-on-a-ubuntu-docker-image
sed -i 's/FROM debian:9/FROM ubuntu:20.04\n#FROM debian:9\nARG DEBIAN_FRONTEND=noninteractive/g' build/docker/bin/Dockerfile
# Workaround to fix RocksDB build on Ubuntu, GCC 9+ is too restrictive, build fails with errors
# RUN cd /opt/rocksdb && CFLAGS=-fPIC CXXFLAGS='-fPIC -Wno-error=deprecated-copy -Wno-error=pessimizing-move' make -j 4 release
sed -i 's# CFLAGS=-fPIC.*$# CFLAGS=-fPIC CXXFLAGS="-fPIC -Wno-error=deprecated-copy -Wno-error=pessimizing-move" make -j 4 release#g' build/docker/bin/Dockerfile
# Build
make all-bitcoin
# Disable Docker & free storage space
systemctl disable docker
systemctl stop docker
/bin/rm -rf /var/lib/docker
|
rocksdb doesn't compile on 24.04, first error is fixed by -Wno-error=redundant-move in CXXFLAGS.
|
I have tried to install blockbook according to this manual
https://wiki.trezor.io/User_manual:Running_a_local_instance_of_Trezor_Wallet_backend_(Blockbook)
after installing bitcoind and waiting about a week to sychronize blockchain, I try to install blockbook. gdebi writes me
....I think blockbook (or the backend installer) could have told me this first, before I synched the blockchain.
The text was updated successfully, but these errors were encountered: