StinGeR_93 Posted August 26, 2015 Share Posted August 26, 2015 Hi. I'm trying to compile ml_base project on Fedora x64. There was no problem with compiling it for 32-bit. But I need to make a library for 64-bit server. And I get this while compiling: ./ml_base.o: relocation R_X86_64_32 against ".rodata" can not be used when making a shared object; recompile with -fPIC ./ml_base.o: error adding symbols: Bad value I've tried to compile it with -fPIC flag, but server log says, that server can't find required .so files while launching ml_base.so library. What should I do to compile it properly? Link to comment
Recommended Posts