OK sorry mein Fehler...
Dann noch mal so und von vorne, Sorry
cd /home/pi
sudo rm -r .Masternodecoin
sudo rm -r db-4.8.30.NC
Danach:
sudo apt-get update
sudo apt-get install git build-essential qt5-default libtool autotools-dev autoconf pkg-config libssl-dev libprotobuf-dev protobuf-compiler libcrypto++-dev libevent-dev libminiupnpc-dev libgmp-dev libboost-all-dev
sudo apt-get install libssl1.0-dev libssl1.0.2 # downgrade SSL from 1.1 to 1.0.2
wget '
http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
# verify it's really the file we are looking for
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz' | sha256sum -c
# ONLY CONTINUE if there is no error - should be a line like this:
# -> db-4.8.30.NC.tar.gz: OK
tar -xzvf db-4.8.30.NC.tar.gz
# Build the library and install to /usr/local
cd db-4.8.30.NC/build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make -j4 # compile on 4 cores
sudo make install
# I added LD_LIBRARY_PATH to my .bashrc, so the bdb lib can be found by the executable we will compile later on
export LD_LIBRARY_PATH="/usr/local/lib/"
# Get MasterNodeCoin sources from github and compile it
#
cd /home/pi
mkdir masternodecoin
cd masternodecoin
git clone
https://github.com/masternodecoin/masternodecoin.git .
# these scripts need to be executable
chmod +x src/leveldb/build_detect_platform
chmod +x src/secp256k1/autogen.sh
sudo touch dummy.sh
sudo chmod +x dummy.sh
sudo mv dummy.sh /usr/bin/
sudo ln -s /usr/bin/dummy.sh /usr/lib/arm-linux-gnueabihf/qt5/bin/lrelease
# ensure using the right version of qt
export QT_SELECT=qt5
# Now we can build the MasterNodeCoin-QT binary ...
qmake
make
# to run it simply type "./Masternodecoin-qt" to a terminal