[code]./configure –enable-shared –enable-static[/code]
加了 –enable-shared 或者 –enable-statics 就会报
[code]ltconfig: cannot guess host type; you must specify one[/code]
方法是安装最新版的 libtool 然后
[code]
cp /usr/share/libtool/config.sub .
cp /usr/share/libtool/config.guess .
./configure –enable-shared –enable-static
make; make install
[/code]