ipbc-dev / bittube

Legacy BitTube 3 CLI Utilities
https://github.com/BitTubeCash/bittube
Other
16 stars 23 forks source link

Error on make command #5

Closed minersbs closed 4 years ago

minersbs commented 6 years ago

During the build I get this error: / 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

I do not understand how to solve the problem. Can someone help me.

Ubuntu System 16.04

Thanks

Alessandro

italocoin-project commented 5 years ago

You are trying to compile a static release, you need to recompile all libs with -fPIC flag. Just run the command make release this will not work on another machine if you copy this binaries, if you need static binaries just download the binaries from latest bittube release tag