From: Pierre Joye on
On Fri, Oct 16, 2009 at 9:47 AM, Richard Quadling
<rquadling(a)googlemail.com> wrote:
> Should PHP extensions be checking the version number on the external libraries?

Can't be done.

Cheers,
--
Pierre

http://blog.thepimp.net | http://www.libgd.org
From: Pierre Joye on
hi,

The latest RC for 5.3.1 or the snaps have now the right DLLs included.
The installer also installs enchant and its DLLs.

Cheers,

On Thu, Oct 15, 2009 at 12:23 PM, Richard Quadling
<rquadling(a)googlemail.com> wrote:
> Hi.
>
> Has this extension been changed to use differently named external libraries.
>
> Previously in V5.3.2-dev, php_enchant.dll was working with ...
>
> libglib-2.0.0-0.dll
> libgmodule-2.0-0.dll
>
> This is no longer the case.
>
> I've had to copy (not rename - see below) these to
>
> glib-2.dll
> gmodule-2.dll
>
> to get enchant to work again.
>
> What is odd, in looking through my dependency viewer...
>
> C:\PHP5\ext\PHP_ENCHANT.DLL requires C:\PHP5\PHP5.DLL and C:\PHP5\LIBENCHANT.DLL
>
> Nothing wrong so far.
>
> C:\PHP5\LIBENCHANT.DLL requires C:\PHP5\GLIB-2.DLL and C:\PHP5\GMODULE-2.DLL
>
> This is where the change has happened.
>
> BUT...
>
> C:\PHP5\GMODULE-2.DLL requires C:\PHP5\LIBGLIB-2.0-0.DLL
>
> So I've now got 2 identical versions of LIBGLIB-2.0-0.DLL loaded (via
> different names).
>
> As I'm on windows, I can't have a unix style link for the name.
>
>
> Renaming C:\PHP5\LIBGLIB-2.0-0.DLL to C:\PHP5\LIBGLIB-2.0-0.DLLORG
> generates the usual error regarding missing libraries.
>
> See http://pearl.slingfile.com/dl/78ce6dbf23973ba2c40a794a3e30f8b5/4ad6e20c/hd1/sf/uploads/image/223787/LibEnchant%20Issue.png
> for screenshot
>
>
> Regards,
>
> Richard.
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Pierre

http://blog.thepimp.net | http://www.libgd.org
From: Richard Quadling on
2009/10/22 Pierre Joye <pierre.php(a)gmail.com>:
> hi,
>
> The latest RC for 5.3.1 or the snaps have now the right DLLs included.
> The installer also installs enchant and its DLLs.
>
> Cheers,
>
> On Thu, Oct 15, 2009 at 12:23 PM, Richard Quadling
> <rquadling(a)googlemail.com> wrote:
>> Hi.
>>
>> Has this extension been changed to use differently named external libraries.
>>
>> Previously in V5.3.2-dev, php_enchant.dll was working with ...
>>
>> libglib-2.0.0-0.dll
>> libgmodule-2.0-0.dll
>>
>> This is no longer the case.
>>
>> I've had to copy (not rename - see below) these to
>>
>> glib-2.dll
>> gmodule-2.dll
>>
>> to get enchant to work again.
>>
>> What is odd, in looking through my dependency viewer...
>>
>> C:\PHP5\ext\PHP_ENCHANT.DLL requires C:\PHP5\PHP5.DLL and C:\PHP5\LIBENCHANT.DLL
>>
>> Nothing wrong so far.
>>
>> C:\PHP5\LIBENCHANT.DLL requires C:\PHP5\GLIB-2.DLL and C:\PHP5\GMODULE-2.DLL
>>
>> This is where the change has happened.
>>
>> BUT...
>>
>> C:\PHP5\GMODULE-2.DLL requires C:\PHP5\LIBGLIB-2.0-0.DLL
>>
>> So I've now got 2 identical versions of LIBGLIB-2.0-0.DLL loaded (via
>> different names).
>>
>> As I'm on windows, I can't have a unix style link for the name.
>>
>>
>> Renaming C:\PHP5\LIBGLIB-2.0-0.DLL to C:\PHP5\LIBGLIB-2.0-0.DLLORG
>> generates the usual error regarding missing libraries.
>>
>> See http://pearl.slingfile.com/dl/78ce6dbf23973ba2c40a794a3e30f8b5/4ad6e20c/hd1/sf/uploads/image/223787/LibEnchant%20Issue.png
>> for screenshot
>>
>>
>> Regards,
>>
>> Richard.
>>
>> --
>> -----
>> Richard Quadling
>> "Standing on the shoulders of some very clever giants!"
>> EE : http://www.experts-exchange.com/M_248814.html
>> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
>> ZOPA : http://uk.zopa.com/member/RQuadling
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Pierre
>
> http://blog.thepimp.net | http://www.libgd.org
>

Thank you.

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling