Closed alstef closed 6 years ago
sudo apt-get update && sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:bitcoin/bitcoin sudo apt-get update && sudo apt-get install -y automake autotools-dev bsdmainutils build-essential git libboost-all-dev libdb4.8-dev libdb4.8++-dev libevent-dev libminiupnpc-dev libprotobuf-dev libqrencode-dev libqt5gui5 libqt5core5a libqt5dbus5 libssl-dev libtool libzmq3-dev pkg-config protobuf-compiler python3 qttools5-dev qttools5-dev-tools
git clone https://github.com/RavenProject/Ravencoin.git
cd Ravencoin
./autogen.sh
./configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX CXXFLAGS="-fPIC" CPPFLAGS="-fPIC"
make
Works now. Thank you
Solved - as per comment.
Describe the issue
Fails to compile on Ubuntu 16.04. Make error: /usr/bin/ld: crypto/libraven_crypto.a(crypto_libraven_crypto_a-blake.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
Expected behaviour
Compilation succeeds
Actual behaviour
Compilation fails
Machine specs: