编译程序遇到问题  relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;


发现编译的程序引用的一个库(.a文件)是直接用./configure 编译的, 64位机器不能直接./configure 进行配置,需要采用如下方式


CFLAGS="-O3 -fPIC" ./configure

make

make install

相关文章:

  • 2021-09-02
  • 2021-06-13
  • 2021-07-27
  • 2022-12-23
  • 2021-06-25
  • 2021-07-29
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-07-25
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案