交叉编译jpeg库的问题

Posted in bash by xdanger on the 03月 11th, 2008

./configure --enable-shared --enable-static

加了 --enable-shared 或者 --enable-statics 就会报

ltconfig: cannot guess host type; you must specify one

方法是安装最新版的 libtool 然后

cp /usr/share/libtool/config.sub . 
cp /usr/share/libtool/config.guess . 
./configure --enable-shared --enable-static 
make; make install

» Filed Under bash

Comments

Leave a Reply