[问题]求助啊!! 关于image magick

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
trying to learn
帖子: 7
注册时间: 2006-08-03 20:50

[问题]求助啊!! 关于image magick

#1

帖子 trying to learn » 2006-08-09 19:29

我已经安装了image magick6.2.8, complie的时候没有出现问题,可运行时老是有错误 ./assmt2: error while loading shared libraries: libMagick++.so.10: cannot open shared object file: No such file or directory


我也不知道怎么回事,都重装了好几次了,可还是不行啊呀 ,,,

帮帮忙啊

谢谢 了 !!!!!!!!!!
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#2

帖子 leal » 2006-08-09 19:45

最简单的方法去看一下 /usr/lib or /usr/local/lib 下有无 libMagick++.so.10

如果 /usr/local/lib 下有,而 /usr/lib 没有,最直接的解决方案是 建个符号链接
用心×恒 | 豆瓣 | 门户 | Blog
trying to learn
帖子: 7
注册时间: 2006-08-03 20:50

#3

帖子 trying to learn » 2006-08-09 20:00

谢谢楼上的,,,,请问怎么建立符号联接呵??
trying to learn
帖子: 7
注册时间: 2006-08-03 20:50

#4

帖子 trying to learn » 2006-08-09 20:02

还有,我发现我连display命令也用不了,,
出现一大堆东西,,还望高手指点,,
~/Desktop/Assign 2$ display assmt2.jpg
Version: ImageMagick 6.2.8 08/09/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

Usage: display [options ...] file [ [options ...] file ...]

Where options include:
-antialias remove pixel-aliasing
-authenticate value decrypt image with this password
-auto-orient automatically orient image
-backdrop display image centered on a backdrop
-border geometry surround image with a border of color
-channel type apply option to select image channels
-clip clip along the first path from the 8BIM profile
-clip-path id clip along a named path from the 8BIM profile
-coalesce merge a sequence of images
-colormap type Shared or Private
-colors value preferred number of colors in the image
-colorspace type alternate image colorspace
-comment string annotate image with comment
-compress type type of pixel compression when writing the image
-contrast enhance or reduce the image contrast
-crop geometry preferred size and location of the cropped image
-debug events display copious debugging information
-define format:option
define one or more image format options
-delay value display the next image after pausing
-density geometry horizontal and vertical density of the image
-depth value image depth
-despeckle reduce the speckles within an image
-display server display image to this X server
-dispose method GIF disposal method
-dither apply Floyd/Steinberg error diffusion to image
-edge factor apply a filter to detect edges in the image
-endian type endianness (MSB or LSB) of the image
-enhance apply a digital filter to enhance a noisy image
-extract geometry extract area from image
-filter type use this filter when resizing an image
-flatten flatten a sequence of images
-flip flip image in the vertical direction
-flop flop image in the horizontal direction
-format "string" output formatted image characteristics
-frame geometry surround image with an ornamental border
-gamma value level of gamma correction
-geometry geometry preferred size and location of the Image window
-help print program options
-identify identify the format and characteristics of the image
-immutable displayed image cannot be modified
-interlace type type of image interlacing scheme
-label name assign a label to an image
-limit type value pixel cache resource limit
-log format format of debugging information
-loop iterations loop images then exit
-map type display image using this Standard Colormap
-matte store matte channel if the image has one
-monitor monitor progress
-monochrome transform image to black and white
-negate replace every pixel with its complementary color
-page geometry size and location of an image canvas
-profile filename add, delete, or apply an image profile
-quality value JPEG/MIFF/PNG compression level
-quantize colorspace reduce colors in this colorspace
-quiet suppress all error or warning messages
-raise value lighten/darken image edges to create a 3-D effect
-regard-warnings pay attention to warning messages
-remote command execute a command in an remote display process
-repage geometry size and location of an image canvas (operator)
-resize geometry resize the image
-roll geometry roll an image vertically or horizontally
-rotate degrees apply Paeth rotation to the image
-sample geometry scale image with pixel sampling
-sampling-factor geometry
horizontal and vertical sampling factor
-scenes range image scene range
-segment value segment an image
-set attribute value set an image attribute
-sharpen geometry sharpen the image
-size geometry width and height of image
-strip strip image of all profiles and comments
-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
-texture filename name of texture to tile onto the image background
-treedepth value color tree depth
-trim trim image edges
-update seconds detect when image file is modified and redisplay
-verbose print detailed information about the image
-version print version information
-visual type display image using this visual type
-virtual-pixel method
virtual pixel access method
-window id display image to background of this window
-window-group id exit program when this window id is destroyed
-write filename write image to a file

In addition to those listed above, you can specify these standard X
resources as command line options: -background, -bordercolor,
-borderwidth, -font, -foreground, -iconGeometry, -iconic, -mattecolor,
-name, -shared-memory, -usePixmap, or -title.

By default, the image format of `file' is determined by its magic
number. To specify a particular image format, precede the filename
with an image format name and a colon (i.e. ps:image) or specify the
image type as the filename suffix (i.e. image.ps). Specify 'file' as
'-' for standard input or output.

Buttons:
1 press to map or unmap the Command widget
2 press and drag to magnify a region of an image
3 press to load an image from a visual image directory
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2006-08-09 21:29

$ locate libMagick
/usr/lib/libMagick.so.9.0.0
/usr/lib/libMagick.so.9

display的现象倒是像打错了文件名。
● 鸣学
trying to learn
帖子: 7
注册时间: 2006-08-03 20:50

#6

帖子 trying to learn » 2006-08-10 3:19

谢谢呵!!!
但是display的文件名真的没有打错,我试了很多次了,是用TAB来补文件名的, 也试过打开其他图象都不行

好郁闷啊
trying to learn
帖子: 7
注册时间: 2006-08-03 20:50

#7

帖子 trying to learn » 2006-08-10 3:40

这是我用$ locate libMagick的前几行结果

:~$ locate libMagick
/usr/lib/libMagick.so.6.2.3
/usr/lib/libMagick.so.6
/usr/local/lib/libMagick.so.10.0.3
/usr/local/lib/libMagick.so.10
/usr/local/lib/libMagick.so
/usr/local/lib/libMagick.la
/usr/local/lib/libMagick.a
/usr/local/lib/libMagick++.so.10.0.3
/usr/local/lib/libMagick++.so.10
/usr/local/lib/libMagick++.so
/usr/local/lib/libMagick++.la
/usr/local/lib/libMagick++.a
回复