[csw-maintainers] PHP + GD + JPEG broken -> Mantis captchas deactivated (was: Re: website issues)

Sebastian Kayser skayser at opencsw.org
Mon Jun 21 12:16:16 CEST 2010


Sebastian Kayser wrote on 16.06.2010 15:05:
> 5. GD jpeg handling and thereby Mantis captcha generation for signups is broken
>    https://www.opencsw.org/mantis/signup_page.php
>    https://www.opencsw.org/mantis/make_captcha_img.php?public_key=93738
> 
> Apache error log holds:
> gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library
> version: library is 62, caller expects 70

PHP+GD+JPEG is still broken on the www box (and likely in current/), thus
I've deactivated Mantis signup captchas for now. Looking at the libs, the
PHP gd module was built against libjpeg.so.62 while libgd itself is built
against libjpeg.so.7. The gd module pulls in 62 first and gd complains
because it expects 70.

$ ldd /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so | grep jpeg
        libjpeg.so.62 =>         /opt/csw/lib/libjpeg.so.62
        libjpeg.so.7 =>  /opt/csw/lib/sparcv8/libjpeg.so.7

$ ldd -s /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so | grep object=libjpeg
   find object=libjpeg.so.62; required by /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so
   find object=libjpeg.so.7; required by /opt/csw/lib/libgd.so.2

Is there anything short of a PHP rebuild that we can do about it?

Sebastian


More information about the maintainers mailing list