-
Notifications
You must be signed in to change notification settings - Fork 41
Description
centos 7 GraphicsMagick version is 1.3.25
GraphicsMagick 1.3.25 2016-09-05 Q8 http://www.GraphicsMagick.org/
Where commands include:
batch - issue multiple commands in interactive or batch mode
benchmark - benchmark one of the other commands
compare - compare two images
composite - composite images together
conjure - execute a Magick Scripting Language (MSL) XML script
convert - convert an image or sequence of images
help - obtain usage message for named command
identify - describe an image or image sequence
mogrify - transform an image or sequence of images
montage - create a composite image (in a grid) from separate images
time - time one of the other commands
version - obtain release version
use luarocks install graphicsmagick
torch
th>require "graphicsmagick"
error :
../torch/install/share/lua/5.1/trepl/init.lua:389: ../torch/install/share/lua/5.1/trepl/init.lua:389: ...enp/torch/install/share/lua/5.1/graphicsmagick/Image.lua:335: /usr/local/lib/libGraphicsMagickWand.so: undefined symbol: InitializeMagick
stack traceback:
[C]: in function 'error'
/home/chenp/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
[string "_RESULT={require "graphicsmagick"}"]:1: in main chunk
[C]: in function 'xpcall'
/home/chenp/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
...henp/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x004064f0
in openresty lua file local gm = require("graphicsmagick")
error:
lua entry thread aborted: runtime error: ...enp/torch/install/share/lua/5.1/graphicsmagick/Image.lua:335: /usr/local/lib/libGraphicsMagickWand.so: undefined symbol: InitializeMagick
in centos 6 this is ok,and in centos6 the gm version is 1.3.24