configure: error: libmpfr not found or uses a different ABI (including static vs shared).

简介: 配置mpc的时候提示此错误: configure: error: libmpfr not found or uses a different ABI (including static vs shared).

配置mpc的时候提示此错误:
configure: error: libmpfr not found or uses a different ABI (including static vs shared).

mpc下载:
wget ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz

问题原因:
缺少mpfr,下载地址
http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.xz
http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.gz
注意文件的扩展名,压缩比不同,解压方式也不同,.tar.xz的压缩率比较高。

对应的解压方式:
tar -zxvf mpfr-3.1.2.tar.gz

.tar.xz的解压方法:
xz -d mpfr-3.1.2.tar.xz
会产生一个mpfr-3.1.2.tar 文件,再执行
tar -xvf mpfr-3.1.2.tar

安装:
解压完成后进入目录配置安装:

# cd ./mpfr-3.1.2
# ./configure 
# make && make install

依赖项:
wget ftp://gnu.mirror.iweb.com/gmp/gmp-4.3.2.tar.gz

目录
相关文章
|
6月前
gdalinfo: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No su
gdalinfo: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No su
|
6月前
|
NoSQL MongoDB
mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
156 0
|
11月前
|
关系型数据库 MySQL Linux
error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or
error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or
configure: error: libacl not found
configure: error: libacl not found
62 0
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
133 0
原因及解决办法:error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file
原因及解决办法:error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file
236 0
configure/make的shared object参数
configure/make的shared object参数
41 0
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
287 0
error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
90 0
|
Perl
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
584 0