[Zope] Photo browsing products for Zope

Ed Leafe ed@leafe.com
Thu, 2 Jan 2003 14:43:28 -0500


On Thursday, January 2, 2003, at 02:36  AM, Jo Meder wrote:

> It seems obvious that your PIL is compiled without jpeg support. One
> last test to check this: try "ldd  /path/to/your/_imaging.so".
> libjpeg.so.someversion should show up in the resulting list.

	Here's the list returned:

         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40038000)
         libz.so.1 => /usr/lib/libz.so.1 (0x40057000)
         libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

The file /usr/lib/libjpeg.so.62 does indeed exist (symlink to 
/usr/lib/libjpeg.so.62.0.0, which has a date of 2002-6-23 - IOW, not 
anything that was created by the IJG jpeg software I have been building.

>> 	Could this be a clue as to what is wrong? I've tried re-compiling
>> jpeglib a few times, and I always seem to get this error.
>
> No, this is normal since you try to ld without a program so there's no
> entry point.
>
> Did you specify the location of your libjpeg when running ./configure
> (--with-jpeg=/path/to/your/libjpeg.so.someversion) in libImaging?

	No. I followed the directions on the "Using PIL with Zope" page 
(http://www.zope.org/Members/regebro/PIL_zope). On that page, it says 
to configure libImaging as follows:
	./configure --with-zlib=/usr/lib --with-jpeg=/usr/local/lib
and then to change the Makefile to modify the following line:
	LIBS=           -L/usr/lib -lz -L/usr/local/lib -ljpeg  -lm

	I just tried rebuilding with your configure option, and the result was 
the same. Is is simply possible that the libjpeg.so.62 I have is simply 
bad or too old? If so, what are my options?

      ___/
     /
    __/
   /
  ____/
  Ed Leafe
  http://leafe.com/
  http://foxcentral.net