Donate VRC/VRM for the Wiki to VBzaNDExHyFpnNvYc5QH5e4ipBZqxxPnKJ . Thank you, Joe.

RPi Stretch Fix

From VeriCoin & Verium Wiki
Revision as of 08:48, 1 April 2018 by Joe rondx (Talk | contribs) (Fix bignum issue by jessie libssl)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compiling the wallet on the current Raspbian Stretch image will lead to an error concerning bignum.h. This can be solved by using the "jessie-version" of the libssl package.

Fix bignum issue by jessie libssl

Remove the current version of libssl-dev ( 1.1.0f-3 )

sudo apt-get remove libssl-dev -y

Set your repository list to point to "jessie" instead of "stretch", save and exit.

sudo nano /etc/apt/sources.list

Then do

sudo apt-get update 

to download the packages for jessie. Now install the Jessie package

sudo apt-get install libssl-dev -y

Now compile

cd ~/verium/wallet/src 
make -f makefile.unix

When complete (it takes some time), type

sudo apt-mark hold libssl-dev 

to make the package to not upgrade in the future.

Switch back your sources, by changing 'jessie' back to 'stretch'.

sudo nano /etc/apt/sources.list

Followed by

sudo apt-get update && sudo apt-get upgrade 

and make sure it doesn't try and install libssl-dev (it will say it has been kept back).