当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]求助啊!! 关于image magick
帖子发表于 : 2006-08-09 19:29 

注册: 2006-08-03 20:50
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
我已经安装了image magick6.2.8, complie的时候没有出现问题,可运行时老是有错误 ./assmt2: error while loading shared libraries: libMagick++.so.10: cannot open shared object file: No such file or directory


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

帮帮忙啊

谢谢 了 !!!!!!!!!!


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-08-09 19:45 
头像

注册: 2005-08-29 14:49
帖子: 1119
地址: 杭州
送出感谢: 0 次
接收感谢: 3
最简单的方法去看一下 /usr/lib or /usr/local/lib 下有无 libMagick++.so.10

如果 /usr/local/lib 下有,而 /usr/lib 没有,最直接的解决方案是 建个符号链接


_________________
用心×恒 | 豆瓣 | 门户 | Blog


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-08-09 20:00 

注册: 2006-08-03 20:50
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
谢谢楼上的,,,,请问怎么建立符号联接呵??


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-08-09 20:02 

注册: 2006-08-03 20:50
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
还有,我发现我连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


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-08-09 21:29 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
$ locate libMagick
/usr/lib/libMagick.so.9.0.0
/usr/lib/libMagick.so.9

display的现象倒是像打错了文件名。


_________________
● 鸣学


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2006-08-10 3:19 

注册: 2006-08-03 20:50
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
谢谢呵!!!
但是display的文件名真的没有打错,我试了很多次了,是用TAB来补文件名的, 也试过打开其他图象都不行

好郁闷啊


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2006-08-10 3:40 

注册: 2006-08-03 20:50
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
这是我用$ 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


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译