Wrong JPEG library version: library is 80, caller expects 90

1,789 views
Skip to first unread message

James Kyle

unread,
Mar 9, 2016, 11:06:38 PM3/9/16
to torch7
I'm on OS X.

I looked in install-deps and uninstalled all the packages referenced there before running install-deps. When I checked the linked libraries for libjpeg.so and noticed it's linked the the XQuartz installed lib.

I also checked in /usr/local/lib to see if they're the same version:

$ otool -L /usr/local/lib/libjpeg.dylib && otool -L torch-distro/install/lib/lua/5.1/libjpeg.so
/usr/local/lib/libjpeg.dylib:
        /usr/local/opt/jpeg/lib/libjpeg.8.dylib (compatibility version 13.0.0, current version 13.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.1.1)
torch-distro/install/lib/lua/5.1/libjpeg.so:
        @rpath/libluaT.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libTH.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/local/opt/jpeg/lib/libjpeg.8.dylib (compatibility version 13.0.0, current version 13.0.0)
        /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)


I've sourced the activate script as well. 

$ echo $LUA_PATH && echo $LUA_CPATH && echo $PATH && echo $LD_LIBRARY_PATH && echo $DYLD_LIBRARY_PATH && echo $LUA_CPATH
/Users/jkyle/.luarocks/share/lua/5.1/?.lua;/Users/jkyle/.luarocks/share/lua/5.1/?/init.lua;/Users/jkyle/Projects/torch/torch-distro/install/share/lua/5.1/?.lua;/Users/jkyle/Projects/torch/torch-distro/install/share/lua/5.1/?/init.lua;./?.lua;/Users/jkyle/Projects/torch/torch-distro/install/share/luajit-2.1.0-beta1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua
/Users/jkyle/Projects/torch/torch-distro/install/lib/?.dylib;/Users/jkyle/.luarocks/lib/lua/5.1/?.so;/Users/jkyle/Projects/torch/torch-distro/install/lib/lua/5.1/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so
/Users/jkyle/Projects/torch/torch-distro/install/bin:/Users/jkyle/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Users/jkyle/Projects/Go/bin:/Users/jkyle/bin
/Users/jkyle/Projects/torch/torch-distro/install/lib:
/Users/jkyle/Projects/torch/torch-distro/install/lib:
/Users/jkyle/Projects/torch/torch-distro/install/lib/?.dylib;/Users/jkyle/.luarocks/lib/lua/5.1/?.so;/Users/jkyle/Projects/torch/torch-distro/install/lib/lua/5.1/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so


Before I start digging more, anyone seen this? Got a suggestion for a quick fix? 

soumith

unread,
Mar 10, 2016, 12:22:57 AM3/10/16
to torch7 on behalf of James Kyle
have  a look here, see if it helps: https://github.com/torch/image/issues/137

--
You received this message because you are subscribed to the Google Groups "torch7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at https://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.

James Kyle

unread,
Mar 10, 2016, 12:10:26 PM3/10/16
to torch7
Removing GTK+ framework did the trick, thanks! 


On Wednesday, March 9, 2016 at 9:22:57 PM UTC-8, smth chntla wrote:
have  a look here, see if it helps: https://github.com/torch/image/issues/137
Reply all
Reply to author
Forward
0 new messages