Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libGraphicsMagickWand.so: undefined symbol: InitializeMagick #47

Open
littlePP24 opened this issue Apr 15, 2017 · 0 comments
Open

libGraphicsMagickWand.so: undefined symbol: InitializeMagick #47

littlePP24 opened this issue Apr 15, 2017 · 0 comments

Comments

@littlePP24
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant