So the last few days, I've been exploring mining, masternodes and building wallets. I built a few altcoin wallets from source and ran into the fact that once compiled, I couldn't move the executable to another Ubuntu and run it. So I tried some official compiled versions. And guess what, those wouldn't run on Ubuntu 16.04 either. So much for official versions.
There were a lot of missing libraries. Which resulted in the following errors:
- error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
- error while loading shared libraries: libboost_program_options.so.1.58.0: cannot open shared object file: No such file or directory
- error while loading shared libraries: libboost_thread.so.1.58.0: cannot open shared object file: No such file or directory
This script fixed those errors and got 3 altcoin wallets that wouldn't run running on Ubuntu 16.04
#!/bin/bash
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get update
sudo apt-get install build-essential libboost-all-dev libssl-dev libdb4.8-dev \
libdb4.8++-dev libqrencode-dev libminiupnpc-dev libboost-thread1.58.0 \
libboost-program-options-dev -y