ssh2 build on windows
| From: | jbondc@openmv.com | Date: | Tue, 08 Jan 2013 13:26:41 +0000 |
| Subject: | ssh2 build on windows | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-10186@lists.php.net to get a copy of this message | ||
I'm trying to build the ssh2 extension for PHP 5.4 on Windows:
configure --disable-all --enable-cli --with-openssl=shared --with-ssh2=shared
C:\Utils\PHP-sdk\php-5.4\vc9\x86\php-5.4.10>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
Recreating build dirs
Recreating build dirs
Recreating build dirs
Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
Creating library Release_TS\php_openssl.lib and object Release_TS\php_openssl.exp
EXT openssl build complete
Creating library Release_TS\php_ssh2.lib and object Release_TS\php_ssh2.exp
libssh2_a.lib(kex.obj) : error LNK2019: unresolved external symbol _BN_CTX_free referenced in
function _diffie_hellman_sha1
libssh2_a.lib(kex.obj) : error LNK2019: unresolved external symbol _BN_clear_free referenced in
function _diffie_hellman_sha1
libssh2_a.lib(openssl.obj) : error LNK2001: unresolved external symbol _BN_clear_free
libssh2_a.lib(kex.obj) : error LNK2019: unresolved external symbol _BN_bin2bn referenced in function
_diffie_hellman_sha1
...
Any ideas what I can do here? I'm using this dependency:
http://windows.php.net/downloads/php-sdk/deps/libssh2-1.4.2-vc9-x86.zip<http://windows.php.net/downloads/php-sdk/deps/libssh2-1.4.2-vc9-x86.zip>