"Anatol Belski" in php.internals (Thu, 25 Apr 2013 22:11:02 +0200):
>On Thu, April 25, 2013 21:46, Jan Ehrhardt wrote:
>> The difference probably is that you built libssh2 as shared. Your
>> php_ssh2.dll's are dependent on libssh2.dll (which in its turn is dependent
>> on the ssl-dll's).
>>
>> My build is static: it can do without libssh2.dll and only relies on the
>> ssl-dll's.
>
>Ok, that explains it. Then your fix should be conditional depending on
>ssh2 ext being built shared or static. You could that to the github repo.

No, it does not make any difference if the ssh extension is built shared
or static. The difference concerns libssh2_a.lib. Does libssh2_a.lib
rely on the exiatence of libssh2.dll or not. Your build does, mine does
not. Both rely directly or indirectly on libeay32.dll.

>From my snapshot.txt:

Module: php_ssh2.dll
===========================
        libeay32.dll
        msvcr110.dll

AFAIK there is no easy fix for this. Windows dependency walker can
detect the difference, but I doubt if other tools can do it.

Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to