Re: ssh2 build on windows
| From: | Anatoliy Belsky | Date: | Tue, 08 Jan 2013 14:21:42 +0000 |
| Subject: | Re: ssh2 build on windows | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10187@lists.php.net to get a copy of this message | ||
Hi,
There is a ready to use build under
http://windows.php.net/downloads/pecl/releases/ssh2/
Regards
Anatoliy
On Tue, January 8, 2013 14:26, jbondc@openmv.com wrote:
> 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<ht
> tp://windows.php.net/downloads/php-sdk/deps/libssh2-1.4.2-vc9-x86.zip>
>
>
>
>
>
>