歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> 解決linux64位安裝jpeg出錯make:./libtool:Commandnotfound

解決linux64位安裝jpeg出錯make:./libtool:Commandnotfound

日期:2017/3/3 17:01:58   编辑:關於Linux

首先看有沒有安裝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就行了

Copyright © Linux教程網 All Rights Reserved