Jump to content
DenariusTalk
Sign in to follow this  
Carsen

How to compile Denarius on Ubuntu 18.04/BigNum Error/OpenSSL Version Swap

Recommended Posts

Run the following commands to compile Denarius properly without errors on Ubuntu 18.04+ (Ubuntu changed their sources list for the dep "libssl-dev", you will need to install an older version of OpenSSL to be able to compile Denarius)
 

Make sure to remove the current libssl-dev:

sudo apt-get remove libssl-dev 

Install an older version of OpenSSL, for this we use 1.0.1j

wget http://www.openssl.org/source/openssl-1.0.1j.tar.gz 

tar xvfz openssl-1.0.1j.tar.gz cd openssl-1.0.1j

cd openssl-1.0.1j

./config 

make -j(number of cores) 

That should get the older version installed.

Also you may want to symlink openssl still:

sudo mv /usr/bin/openssl /root/ sudo ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl 
openssl version

(To check the openssl version installed)

Also you will want to run these when you run qmake again

qmake "USE_UPNP=1" "USE_QRCODE=1" OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib denarius-qt.pro 

Then you should be good for Ubuntu 18.04 Denarius compiling and it should compile with no errors :), otherwise all other older Ubuntu versions you can just do the usual sudo apt-get install libssl-dev

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×