看板FreeBSD
标 题ImageMagick error
发信站KKCITY (Tue May 10 17:07:59 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!nctumenews!news.ind.ntou!news.ntu!bb
系统 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