`

/usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not

阅读更多
make[3]: *** [shared-build-recursive] Error 1/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
解决方案:以64位的方式重新编译zlib
 961  tar zxvf zlib-1.2.3.tar.gz 
  962  cd zlib-1.2.3
  963  CFLAGS="-O3 -fPIC" ./configure 
  964  make
  965  make install
  966  make clean
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics