ImageMagick error
系統 FreeBSD 5.3-RELEASE-p10
套件 ImageMagick-6.2.0.5 升級至 ImageMagick-6.2.2.1
原因:
因為 portaudit 指出系統上的 ImageMagick 有問題,所以,今天準備更新套件(事實上
,另一台已經成功更新過了,但這台就....)
Affected package: ImageMagick-6.2.0.5
Type of problem: ImageMagick -- ReadPNMImage() heap overflow vulnerability.
Reference:
http://www.FreeBSD.org/ports/portaudit/cd286cc5-b762-11d9-bfb7-000c6ec775d9.html
天有不測風雲,利用 portupgrade 升級的時候,卻發生錯誤,於是想利用 make
deinstall 再 make install 的方式升級,不過,錯誤訊息依舊....
安裝訊息
make install clean
===> Installing for ImageMagick-6.2.2.1
===> ImageMagick-6.2.2.1 depends on executable: mpeg2encode - found
===> ImageMagick-6.2.2.1 depends on file: /usr/local/bin/perl5.6.1 - found
===> ImageMagick-6.2.2.1 depends on executable: pkg-config - found
===> ImageMagick-6.2.2.1 depends on executable: gs - found
===> ImageMagick-6.2.2.1 depends on shared library: jpeg.9 - found
===> ImageMagick-6.2.2.1 depends on shared library: png.5 - found
===> ImageMagick-6.2.2.1 depends on shared library: tiff.4 - found
===> ImageMagick-6.2.2.1 depends on shared library: fpx.1 - found
===> ImageMagick-6.2.2.1 depends on shared library: jbig.1 - found
===> ImageMagick-6.2.2.1 depends on shared library: jasper.4 - found
===> ImageMagick-6.2.2.1 depends on shared library: lcms.1 - found
===> ImageMagick-6.2.2.1 depends on shared library: freetype.9 - found
===> ImageMagick-6.2.2.1 depends on shared library: xml2.5 - found
===> ImageMagick-6.2.2.1 depends on shared library: ltdl.4 - found
===> ImageMagick-6.2.2.1 depends on shared library: X11.6 - found
===> Generating temporary packing list
===> Checking if graphics/ImageMagick already installed
gmake install-am
gmake[1]: Entering directory
`/usr/ports/graphics/ImageMagick/work/ImageMagick-6.2.2'
gmake[2]: Entering directory
`/usr/ports/graphics/ImageMagick/work/ImageMagick-6.2.2'
test -z "/usr/local/lib" || /bin/sh ./mkinstalldirs "/usr/local/lib"
/bin/sh /usr/local/bin/libtool15 --silent --mode=install /usr/bin/install -c
-o root -g wheel 'magick/libMagick.la' '/usr/local/lib/libMagick.la'
libtool15: install: warning: relinking `magick/libMagick.la'
mv: rename libMagick.so.8 to libMagick.so.8U: No such file or directory
libtool15: install: error: relink `magick/libMagick.la' with the above
command before installing it
/bin/sh /usr/local/bin/libtool15 --silent --mode=install /usr/bin/install -c
-o root -g wheel 'wand/libWand.la' '/usr/local/lib/libWand.la'
libtool15: install: warning: relinking `wand/libWand.la'
mv: rename libWand.so.8 to libWand.so.8U: No such file or directory
libtool15: install: error: relink `wand/libWand.la' with the above command
before installing it
/bin/sh /usr/local/bin/libtool15 --silent --mode=install /usr/bin/install -c
-o root -g wheel 'Magick++/lib/libMagick++.la' '/usr/local/lib/libMagick++.la'
libtool15: install: warning: relinking `Magick++/lib/libMagick++.la'
mv: rename libMagick++.so.8 to libMagick++.so.8U: No such file or directory
libtool15: install: error: relink `Magick++/lib/libMagick++.la' with the
above command before installing it
gmake[2]: *** [install-libLTLIBRARIES] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/ImageMagick/work/ImageMagick-6.2.2'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory
`/usr/ports/graphics/ImageMagick/work/ImageMagick-6.2.2'
gmake: *** [install] Error 2
*** Error code 2
Stop in /usr/ports/graphics/ImageMagick.
其中,訊息中有出現 mv: rename libMagick.so.8 to libMagick.so.8U: No such
file or directory (本想說是著一個錯誤訊息一個錯誤訊息的去解決),所以,我試
著去找了一下該檔案,在 /usr/local/lib 之下果然不存在,反而是出現在
/usr/local/lib/compat/pkg/ 下發現,試著將該檔案複製到 /usr/local/lib 下,但是
,還是一樣出現相同錯誤的訊息,不知道是否有新進可以指點一番?
由於 ImageMagick 在機器中有許多套件都需要,說真的,實在不想為了一個軟體而去重
新安裝整個系統....
--
┌─────◆KKCITY◆─────┐ KK免/費/撥/接 ◤
│ bbs.kkcity.com.tw │▏電話(1):449◤1999 電話(2):4058-6000
└──《From:218.175.125.207 》──┘▏帳號:kkcity 密碼:kkcity
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章