解决linux64位安装jpeg 出错make: ./libtool: Command not found

来源:互联网 发布:新疆大学网络教学平台 编辑:程序博客网 时间:2024/05/21 06:16

首先看有没有安装libtool 及 libtool-ltdl-devel
  1. rpm   -qa | grep   libtool
#wget:http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
#./configure
#make
#make install

然后进入jpeg-6b的源码目录,然后执行以下步骤,切记!COPY到当前目录注意后面的点(.)

网上好多都把config.sub和config.guess的路径弄错了,应该是在/usr/share/libtool/config/下,而不是在

/usr/share/libtool/下


#cd jpeg
#cp /usr/share/libtool/config/config.sub .
#cp /usr/share/libtool/config/config.guess .

也就是把 libtool里面的两个配置文件拿来覆盖掉jpeg-6b目录下的对应文件
make clean 再重新configure(切记必须重新configure,否则仍提示这个错误
没有权限的时候先建立对应的文件夹,再次make install就行了
1 0