Hi

I need to recompile php 4.3.2 under windows so that fsockopen can support
SSL connections. I have downloaded the source from openssl.org and placed
everything in the right place... The compile process seems to go well until
the linking part where it totally freaks out...

here's what I get

Linking...
   Creating library ..\Release_TS/php4ts.lib and object
..\Release_TS/php4ts.exp
network.obj : error LNK2001: unresolved external symbol _X509_free
network.obj : error LNK2001: unresolved external symbol
_php_openssl_apply_verification_policy
network.obj : error LNK2001: unresolved external symbol
_SSL_get_peer_certificate
network.obj : error LNK2001: unresolved external symbol _SSL_shutdown
ftp.obj : error LNK2001: unresolved external symbol _SSL_shutdown
network.obj : error LNK2001: unresolved external symbol _SSL_connect
ftp.obj : error LNK2001: unresolved external symbol _SSL_connect
network.obj : error LNK2001: unresolved external symbol _SSL_copy_session_id
ftp.obj : error LNK2001: unresolved external symbol _SSL_copy_session_id
network.obj : error LNK2001: unresolved external symbol _SSL_set_fd
ftp.obj : error LNK2001: unresolved external symbol _SSL_set_fd
network.obj : error LNK2001: unresolved external symbol
_SSL_set_connect_state
network.obj : error LNK2001: unresolved external symbol _SSL_CTX_free
ftp.obj : error LNK2001: unresolved external symbol _SSL_CTX_free
network.obj : error LNK2001: unresolved external symbol
_php_SSL_new_from_context
network.obj : error LNK2001: unresolved external symbol _SSL_CTX_new
ftp.obj : error LNK2001: unresolved external symbol _SSL_CTX_new
network.obj : error LNK2001: unresolved external symbol _ERR_get_error
network.obj : error LNK2001: unresolved external symbol _ERR_peek_error
network.obj : error LNK2001: unresolved external symbol _SSL_get_error
network.obj : error LNK2001: unresolved external symbol _ERR_error_string_n
network.obj : error LNK2001: unresolved external symbol _SSL_write
ftp.obj : error LNK2001: unresolved external symbol _SSL_write
network.obj : error LNK2001: unresolved external symbol _SSL_read
ftp.obj : error LNK2001: unresolved external symbol _SSL_read
network.obj : error LNK2001: unresolved external symbol _SSL_pending
network.obj : error LNK2001: unresolved external symbol _SSL_free
network.obj : error LNK2001: unresolved external symbol _SSL_peek
ftp.obj : error LNK2001: unresolved external symbol _SSL_new
ftp.obj : error LNK2001: unresolved external symbol _SSLv23_client_method
fsock.obj : error LNK2001: unresolved external symbol _SSLv23_client_method
ftp_fopen_wrapper.obj : error LNK2001: unresolved external symbol
_SSLv23_client_method
http_fopen_wrapper.obj : error LNK2001: unresolved external symbol
_SSLv23_client_method
fsock.obj : error LNK2001: unresolved external symbol _TLSv1_client_method
ftp_fopen_wrapper.obj : error LNK2001: unresolved external symbol
_SSLv23_method
..\Release_TS\php4ts.dll : fatal error LNK1120: 24 unresolved externals


and of course the compile fails... Anyone know what I need to do to get SSL
support compiled into PHP? Oh by the way, fsockopen wouldn't support SSL
connections if the openssl extension is just loaded in php.ini, the support
has to be compiled in for it to work.

thanks in advance!

John



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to