确定已安装
libtool
libtool-ltdl
libtool-ltdl-devel
如果没安装,使用
yum install libtool
yum install libtool-ltdl
yum install libtool-ltdl-devel
然后将
/usr/share/libtool/config.sub
/usr/share/libtool/config.gues
复制到你当前要configure目录下
(比如你要装mysql,进入解压后的文件夹进行如下操作:
cp /usr/share/libtool/config.sub .
cp /usr/share/libtool/config.guess . )
或者做链接
ln -s -f /usr/share/libtool/config/config.sub config.sub
ln -s -f /usr/share/libtool/config/config.guess config.guess
然后./configure --enable-shared --enable-static