compute suffix of object files

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

你可能感兴趣的:(object)