Missing Library Fix for Many Altcoin Ubuntu Wallets

in #cryptocurrency6 years ago

bitcoin-error-1024x970.png

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
Sort:  

Resultado de imagen para monedas gif

Congratulations @eristoddle! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @eristoddle! You have received a personal award!

2 Years on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Play-off for third result


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @eristoddle! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.027
BTC 64912.75
ETH 3524.22
USDT 1.00
SBD 2.42