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

Difference between revisions of "RPi Stretch Fix"

From VeriCoin & Verium Wiki
Jump to: navigation, search
(Fix bignum issue by Jessie libssl)
Line 2: Line 2:
 
This can be solved by using the "jessie-version" of the libssl package.
 
This can be solved by using the "jessie-version" of the libssl package.
  
== Fix bignum issue by Jessie libssl ==
+
== Fix bignum issue by jessie libssl ==
  
 
Remove the current version of libssl-dev ( 1.1.0f-3 )
 
Remove the current version of libssl-dev ( 1.1.0f-3 )

Revision as of 16:13, 8 December 2017

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

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 package

Now compile in ~/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).