configure: error: cannot run /bin/sh ./config.sub解决办法

1、确定已安装

libtool

libtool-ltdl

libtool-ltdl-devel

否则则安装:

yum install libtool

yum install libtool-ltdl

yum install libtool-ltdl-devel


2、将/usr/share/libtool/config/config.sub、/usr/share/libtool/config/config.guess

复制到你当前的configure目录下

cp /usr/share/libtool/config/config.sub ./

cp /usr/share/libtool/config/config.guess ./

然后 ./configure --enable-shared --enabled-static


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部