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)
(Fix bignum issue by jessie libssl)
 
Line 5: Line 5:
  
 
Remove the current version of libssl-dev ( 1.1.0f-3 )
 
Remove the current version of libssl-dev ( 1.1.0f-3 )
  sudo apt-get remove libssl-dev
+
sudo apt-get remove libssl-dev -y
 
Set your repository list to point to "jessie" instead of "stretch", save and exit.
 
Set your repository list to point to "jessie" instead of "stretch", save and exit.
  sudo nano /etc/apt/sources.list
+
sudo nano /etc/apt/sources.list
 
Then do  
 
Then do  
  sudo apt-get update  
+
sudo apt-get update  
 
to download the packages for jessie. Now install the Jessie package
 
to download the packages for jessie. Now install the Jessie package
  sudo apt-get install libssl-dev  
+
sudo apt-get install libssl-dev -y
Now compile in ~/verium/wallet/src  
+
Now compile  
  make -f makefile.unix
+
cd ~/verium/wallet/src  
 +
make -f makefile.unix
 
When complete (it takes some time), type  
 
When complete (it takes some time), type  
  sudo apt-mark hold libssl-dev  
+
sudo apt-mark hold libssl-dev  
 
to make the package to not upgrade in the future.
 
to make the package to not upgrade in the future.
  
 
Switch back your sources, by changing 'jessie' back to 'stretch'.
 
Switch back your sources, by changing 'jessie' back to 'stretch'.
  sudo nano /etc/apt/sources.list
+
sudo nano /etc/apt/sources.list
 
Followed by  
 
Followed by  
  sudo apt-get update && sudo apt-get upgrade  
+
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).
 
and make sure it doesn't try and install libssl-dev (it will say it has been kept back).

Latest revision as of 08:48, 1 April 2018

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).