relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with-fPIC
解决方案:以64位的方式重新编译zlib cd zlib CFLAGS="-fPIC"./configure make make install make clean
Qt编译时提示: relocation R_X86_64_32 against ‘.rodata’ can not be used when making a PIE object: recompile with fPIC 于是百度, 找了很久找到一篇能够解决我这问题的帖子 在这里面的参考文档中提到,从Ubuntu16.10版本开始默认启用P…