I am trying to setup Monero blockchain explorer on Ubuntu 16.04 by following this github repo.
I have checkout monero v0.12.1.0
but I am facing this error while running
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libgtest.a(gtest-all.cc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libgtest.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status tests/unit_tests/CMakeFiles/unit_tests.dir/build.make:1206: recipe for target 'tests/unit_tests/unit_tests' failed make: * [tests/unit_tests/unit_tests] Error 1 make: Leaving directory '/home/monero/build/release' CMakeFiles/Makefile2:4425: recipe for target 'tests/unit_tests/CMakeFiles/unit_tests.dir/all' failed make: [tests/unit_tests/CMakeFiles/unit_tests.dir/all] Error 2 make: Leaving directory '/home/monero/build/release' Makefile:138: recipe for target 'all' failed make1: [all] Error 2 make1: Leaving directory '/home/monero/build/release' Makefile:64: recipe for target 'release-all' failed make: * [release-all] Error 2
I couldn't find any solution yet? can anyone help?