On 28/02/07, Simon Laws <[EMAIL PROTECTED]> wrote:

On 2/28/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
>
> I think we have resolved the issues with the Python samples when mixed
> with
> Ruby and/or httpd so we have:
>
> Windows/Linux : core, cpp, ruby, python, ws, rest, sca
> Mac: core, cpp, ruby, python, rest
>
> Tomorrow I will try and integrate the PHP extension into the
distribution
> and hopefully get a release candidate out this week.
>
> Cheers,
>
Hi Pete,

What was the fix? I'm wondering whether it could also be applied to fix
our
lingering PHP extension linux build problem.

Simon


It was a mismatch in the expat library that Python includes and the one that
Ruby or httpd use. To fix this we use LD_PRELOAD=<our python extension>
before invoking Ruby (or starting httpd). This pulls in the expat that
Python insists on and the other components are happy using that version.

Cheers,

--
Pete

Reply via email to