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

Philip Brown phil at bolthole.com
Mon Jun 21 18:14:55 CEST 2010


On Mon, Jun 21, 2010 at 3:16 AM, Sebastian Kayser <skayser at opencsw.org> wrote:
> Sebastian Kayser wrote on 16.06.2010 15:05:
>>
> 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
>
>
> Is there anything short of a PHP rebuild that we can do about it?
>

sure... IFF the libraries are backwords compatible, force load of 7.
try it out with LD_PRELOAD, or force the .62 symlink to point to 7, temporarily?

Two comments though:

1. if it is nicely backwards compatible, i would think we wouldnt need
the two separate versions

2. we survived without captcha just fine for years. leave it off :)

but that  being said... we do need a php rebuild....


More information about the maintainers mailing list