Hi Eric,
> Only the 'csjpgimg' plugin should be linked against the JPEG library.
> None of the applications need be since they should all be loading images
> via the plugin. You might want to use 'ldd' to find out the exact JPEG
> library linked into csjpgimg and then compare that against the
> JPEG.CFLAGS and JPEG.LFLAGS variables in CS/Jamconfig. Perhaps post in
> email both the output of 'ldd' and the relevant JPEG.* variables from
> Jamconfig.
Oh, that makes a lot more sense now. Alright here is what I get when I
run 'locate libjpeg,so':
---
[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
---
And here are the specific information about these different libjpeg.so:
---
[EMAIL PROTECTED]:~/install/cryrstal_space/crystalspace-src-1.2$ ls -l
`locate libjpeg.so`
-rwxr-xr-x 1 user user 228948 2005-12-07 18:02
/home/user/install/archives/j2re1.4.2_06/lib/i386/libjpeg.so
-rw-r--r-- 1 root root 162464 2006-07-12 04:05
/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjpeg.so
lrwxrwxrwx 1 root root 17 2007-03-06 00:41 /usr/lib/libjpeg.so
-> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 2007-03-05 07:56
/usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
-rw-r--r-- 1 root root 121280 2006-06-20 05:05 /usr/lib/libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 143028 2007-08-30 17:28
/usr/local/google-earth/libjpeg.so.62
---
I just ran updatedb this morning so it should be pretty recent.
Here is what I get for running ldd on csjpgimg.so:
---
[EMAIL PROTECTED]:~$ ldd /usr/local/lib/crystalspace-1.2/csjpgimg.so
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x4005c000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4006f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4008f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4016e000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x40179000)
/lib/ld-linux.so.2 (0x80000000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x402ad000)
---
So it seems that the csjpgimg.so is linked to /usr/lib/libjpeg.so.62 .
The value of my $LD_LIBRARY_PATH is:
---
.:$YAMCHA/lib:/usr/local/lib:/usr/local/include:/usr/include
---
Finally, the values of the JPEG flags in CS/Jamconfig are:
---
JPEG.AVAILABLE ?= "yes" ;
JPEG.LFLAGS ?= "-ljpeg" ;
---
There is no JPEG.CFLAGS variable.
So, do you think CS is loading the google-erth version of libjpeg.so.62?
Thanks a lot.
Patrick
-------------------------------------------------------------------------
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]