Hi!
I tried to compile the wallet from the source code on github and got some problems on Arch Linux and on debian.
The problem is that both debian and Arch Linux have openssl version 1.1 as default.
The code needs openssl version 1.0.
So I had to install openssl version 1.0 on Arch linux.
I still got problems but after some searching I found the same issue for feathercoin:
https://github.com/FeatherCoin/Feathercoin/issues/177The workaround was to create a build script as described in the link above:
export PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig" //CHANGE TO OWN OPENSSL PATH
export CXXFLAGS+=" -I/usr/include/openssl-1.0" //CHANGE TO OWN OPENSSL PATH
export LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl" //CHANGE TO OWN OPENSSL PATH
./autogen.sh
./configure
make -j4
I also got the compiling error described on github when compiling the GUI wallet:
https://github.com/projectinterzone/ITZ/blob/master/doc/build-unix.mderror: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
It is not described correctly how to solve it. They say add -fPIE but that is already in the code. I changed to
CPPFLAGS="$CPPFLAGS -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fPIC"
Then I could compile the wallet on Arch Linux end everything works!
On debian I only installed the command line wallet because that machine does not have keyboard or monitor, it is only controlled by text terminal.
Anyway I got the same openssl errors when compiling as I experienced on Arch Linux.
On debian the solution was to install packages libssl1.0-dev and libssl1.02.
Then the compilation was completed without errors and I could install the wallet with
Hopefully this can help some Linux users. I am going to install a masternode on a Lnux VPS with debian so first I had to install the wallet software on the VPS.
But I also use Linux on my desktop computer (Arch Linux) and I wanted my local wallet on that machine.