Patrick Ye wrote:
> [EMAIL PROTECTED]:~$ locate libjpeg.so
> /home/user/install/archives/j2re1.4.2_06/lib/i386/libjpeg.so
> /usr/local/google-earth/libjpeg.so.62
> /usr/lib/libjpeg.so.62
> /usr/lib/libjpeg.so.62.0.0
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjpeg.so
> /usr/lib/libjpeg.so

Also run a 'locate' for jpeglib.h. Hopefully, you should have only one. 
In in any case, look inside each found .h file and check the 
JPEG_LIB_VERSION macro to make sure that it matches the version of the 
library. (In this case, its value should be 62.)

> [EMAIL PROTECTED]:~$ ldd /usr/local/lib/crystalspace-1.2/csjpgimg.so
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4006f000)
> JPEG.LFLAGS ?= "-ljpeg" ;

This all looks fine.

> So, do you think CS is loading the google-erth version of libjpeg.so.62?

It seems more likely that you have a header installed somewhere in the 
compiler's search path with a JPEG_LIB_VERSION with value something 
other than 62.

You might want to run your distro's package manager and make sure that 
you have the 'libjpeg' and 'libjpeg-devel' packages installed (or 
whatever the package names are on your system) and make sure that the 
same version is installed for both.

-- ES


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to