OIIO does not have a required libjpeg version, BUT the one it builds with needs 
to match the one it's linked to at runtime.

Those messages look like what I would expect if your system had two different 
libjpeg versions installed in different places, and somehow the include files 
used when you built OIIO were from one version, and at runtime a different 
libjpeg version is the .so it found.

So, first, try a build like this:

        make nuke
        make VERBOSE=1 [your other options here] | tee build.log

The full build (especially in verbose mode) will tell you exactly where it 
finds all the dependent libraries.  It should say something about libjpeg.

Then, when you are running, you want to make sure that the SAME jpeg library is 
the one that is first in your LD_LIBRARY_PATH.

Does this help? 


On Jul 23, 2013, at 8:41 PM, Kazuyo Mizuno wrote:

> Hi, everyone.
> 
> I have an issue with JPEG file.
> 
> Error messages:
> case 1.
> JPEG parameter struct mistmatch: library thinks size is 584, caller expects 
> 568
> (OpenImageIO build with libjpeg 8d)
> 
> case 2.
> Wrong JPEG library version: library is 62, caller expects 80
> (OpenImageIO build with libjpeg 6b)
> 
> Environment:
> 1. OS:
>  CentOS 5.4
> 2. Library
>   OpenImageIO  1.1.13,  libtiff  3.9.6, libpng 15.1.0, boost 1.49.0,
> libjpeg  (8d or 6b)
> 3. make option
>   USE_OPENGL=0 USE_QT=0 USE_TBB=1 ISE_PYTHON=0 EMBEDPLUGINS=1
> 
> Does OpenImageIO have any required libjpeg version?
> Thanks for your help.
> 
> ----
> Kazuyo Kojima
> [email protected]
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to