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

Gfx start but fails with "Wrong JPEG library version: library is 80, caller expects 62" #32

Open
AlexMikhalev opened this issue Nov 11, 2014 · 1 comment

Comments

@AlexMikhalev
Copy link

luajit -lgfx.start
[gfx.js] server started on port 8000, graphics will be rendered into http://localhost:8000

luajit
LuaJIT 2.0.3 -- Copyright (C) 2005-2014 Mike Pall. http://luajit.org/


|_ | | |
| | ___ _ __ | |
| |/ _ | '**/ _| ' \
| | (
) | | | (| | | |
/
/|
| _**|| ||

JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse

gfx = require 'gfx.js'
gfx.image(image.lena())
Wrong JPEG library version: library is 80, caller expects 62
/usr/local/share/lua/5.1/gfx/js.lua:59: attempt to index local 'img' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/gfx/js.lua:59: in function 'image'
stdin:1: in main chunk
[C]: at 0x0109a7e100

I have tried to remove and reinstall graphicsmagick and imagemagick via brew:

brew install graphicsmagick

removed and reinstalled image/gfx rocks but no avail. Anything I can do to debug and fix this issue?

@admercs
Copy link

admercs commented Jul 21, 2016

I had a similar issue created by installing GDAL on OS X. Look for other libjpeg.dylib versions to which the build could be pointing, which should show in the logs.

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

2 participants