clementfarabet / gfx.js

A graphics backend for the browser (with a Torch7 client).
MIT License
125 stars 35 forks source link

Installation issue on osx #3

Closed Henrilin28 closed 10 years ago

Henrilin28 commented 10 years ago

$ luajit -lgfx.start luajit: /usr/local/share/lua/5.1/graphicsmagick/Image.lua:179: dlopen(libGraphicsMagickWand.dylib, 5): Library not loaded: /usr/local/lib/libpng15.15.dylib Referenced from: /usr/local/lib/libGraphicsMagickWand.dylib Reason: image not found stack traceback: [C]: in function 'load' /usr/local/share/lua/5.1/graphicsmagick/Image.lua:179: in main chunk [C]: in function 'require' /usr/local/share/lua/5.1/graphicsmagick/init.lua:2: in main chunk [C]: in function 'require' /usr/local/share/lua/5.1/gfx/js.lua:9: in main chunk [C]: in function 'require' /usr/local/share/lua/5.1/gfx/start.lua:6: in main chunk [C]: at 0x010e077280 [C]: at 0x010e04ac50 When I try to execute the command and it shows the error above. I have no idea to fix it. Can anyone help me ? I will be really appreciated.

soumith commented 10 years ago

reinstall libgraphicsmagickwand. looks like it was compiled with libpng15.15 but libpng was updated and cleaned up ("brew cleanup" possibly), but libgraphicsmagickwand is still looking for the old version.

this is not a bug with gfx.js, so you can close the issue.

Henrilin28 commented 10 years ago

Thank you and I closed the issue immediately