安裝ImageMagick失敗

今天安裝了Gallery程序後,插件需要ImageMagick支持.這是著名的開源圖象處理插件.
從官網wget下來
tat cvzf解壓縮
./configure
make
make install
最後一步出了問題,提示error:
libtool: install: warning: relinking `wand/libWand.la’
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libjpeg.la’ seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libfreetype.la’ seems to be moved
/usr/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
libtool: install: error: relink `wand/libWand.la’ with the above command before installing it
/bin/sh ./libtool –silent –mode=install /usr/bin/install -c ‘Magick++/lib/libMagick++.la’ ‘/usr/local/lib/libMagick++.la’
libtool: install: warning: relinking `Magick++/lib/libMagick++.la’
libtool: ignoring unknown tag CXX
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libjpeg.la’ seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libfreetype.la’ seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libjpeg.la’ seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-linux/3.3.5/../../..//libfreetype.la’ seems to be moved
/usr/bin/ld: cannot find -lWand
collect2: ld returned 1 exit status
libtool: install: error: relink `Magick++/lib/libMagick++.la’ with the above command before installing it
make[1]: *** [install-libLTLIBRARIES] Error 1
make: *** [install-am] Error 2

看得頭暈,大體說類庫沒有找到,GCC編譯器錯誤什麼的
由於我沒有root權限,對 /usr/lib位置是無權寫入的.所以這次安裝算失敗了
可能通過./configure設置可以用其他方法安裝成功,不過現在我懶得做了

2 Replies to “安裝ImageMagick失敗”

Comments are closed.