Indeed, adding the MPFR and GPM lib directories to LD_LIBRARY_PATH solves theproblem. For some reason I thought configure would handle this for me since Igave it --with-gmp and --with-mpfr settings. Would have been nice if configuretested for this and given a helpful error. In any event I'll close this out asan invalid bug report.

 

需要安装gmp与mpfr并且需要在.bash_profile(一般在/root目录下)配置LD_LIBRARY_PATH,把GMP与MPFR对应的lib配置上如:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mpfr/2.4.0/lib:/usr/local/gmp/4.2.2/lib
export LD_LIBRARY_PATH

一定要重启生效或者使用 source /root/.bash_profile

相关文章:

  • 2021-12-15
  • 2021-10-12
  • 2021-05-23
  • 2022-01-30
  • 2022-02-04
  • 2021-09-09
  • 2021-11-16
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-07-09
  • 2021-04-20
  • 2021-07-31
  • 2022-02-23
  • 2021-06-24
相关资源
相似解决方案