cURL / Mailing Lists / curl-users / Single Mail

curl-users

7.9.5, MS VC++ & unresolved external symbol _SSL_...

From: Ray DeGennaro at Eaglerock IS <ray.degennaro_at_eriscorp.com>
Date: Wed, 10 Apr 2002 22:55:34 -0500

I'm sure this should be a no-brainer, but I've been staring at this
for a while and can't track it down.

The system:
        Win98SE, MS Visual Studio 6.0, MS VC++ 6.0

The problem:

I built OpenSSL according to the instructions, all tests fine

I did the optional install mentioned in the OpenSSL Docs

I set OPENSSL_PATH to the root directory of the version of OpenSSL I
just created.

I follow the MS VC++ DOS command line cURL 7.9.5 build directions and
I get the linking errors at the end of this message. The specific
command was:
        nmake vc-ssl-dll

I'm pretty sure I'm doing the exact same steps I did on another
system, the only difference was that I built cURL 7.9.4 on that
system.

TIA

Ray

        cd lib
        nmake -f Makefile.vc6 cfg=release-ssl-dll
        link.exe /DLL /def:libcurl.def /out:libcurl.dll
/IMPLIB:"libcurl.lib" /nologo ws2_32.lib
.\release-ssl-dll\base64.obj .\release-ssl-dll\cookie.obj
.\release-ssl-dll\transfer.obj .\release-ssl-dll\escape.obj
.\release-ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj
.\release-ssl-dll\http.obj .\release-ssl-dll\http_chunks.obj
.\release-ssl-dll\ldap.obj .\release-ssl-dll\dict.obj
.\release-ssl-dll\telnet.obj .\release-ssl-dll\getdate.obj
.\release-ssl-dll\getenv.obj .\release-ssl-dll\getpass.obj
.\release-ssl-dll\hostip.obj .\release-ssl-dll\if2ip.obj
.\release-ssl-dll\mprintf.obj .\release-ssl-dll\netrc.obj
.\release-ssl-dll\progress.obj .\release-ssl-dll\sendf.obj
.\release-ssl-dll\speedcheck.obj .\release-ssl-dll\ssluse.obj
.\release-ssl-dll\timeval.obj .\release-ssl-dll\url.obj
.\release-ssl-dll\file.obj .\release-ssl-dll\getinfo.obj
.\release-ssl-dll\version.obj .\release-ssl-dll\easy.obj
.\release-ssl-dll\strequal.obj .\release-ssl-dll\strtok.obj
.\release-ssl-dll\connect.obj .\release-ssl-dll\hash.obj
.\release-ssl-dll\llist.obj
    Creating library libcurl.lib and object libcurl.exp
sendf.obj : error LNK2001: unresolved external symbol _SSL_get_error
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_error
sendf.obj : error LNK2001: unresolved external symbol _SSL_write
sendf.obj : error LNK2001: unresolved external symbol _SSL_pending
sendf.obj : error LNK2001: unresolved external symbol _SSL_read
ssluse.obj : error LNK2001: unresolved external symbol _SSL_library_init
ssluse.obj : error LNK2001: unresolved external symbol _SSL_load_error_strings
ssluse.obj : error LNK2001: unresolved external symbol _EVP_cleanup
ssluse.obj : error LNK2001: unresolved external symbol _ERR_free_strings
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_connect_state
ssluse.obj : error LNK2001: unresolved external symbol _SSL_shutdown
ssluse.obj : error LNK2001: unresolved external symbol _ERR_remove_state
ssluse.obj : error LNK2001: unresolved external symbol _SSL_SESSION_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_verify_result
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_issuer_name
ssluse.obj : error LNK2001: unresolved external symbol _X509_free
ssluse.obj : error LNK2001: unresolved external symbol
_X509_NAME_get_text_by_NID
ssluse.obj : error LNK2001: unresolved external symbol _CRYPTO_free
ssluse.obj : error LNK2001: unresolved external symbol _X509_NAME_oneline
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_subject_name
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_get_peer_certificate
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CIPHER_get_name
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_current_cipher
ssluse.obj : error LNK2001: unresolved external symbol _ERR_error_string
ssluse.obj : error LNK2001: unresolved external symbol _ERR_get_error
ssluse.obj : error LNK2001: unresolved external symbol _SSL_connect
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_fd
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_session
ssluse.obj : error LNK2001: unresolved external symbol _SSL_new
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_load_verify_locations
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_verify
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_cipher_list
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_new
ssluse.obj : error LNK2001: unresolved external symbol _TLSv1_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv2_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv3_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv23_client_method
ssluse.obj : error LNK2001: unresolved external symbol _RAND_file_name
ssluse.obj : error LNK2001: unresolved external symbol _RAND_screen
ssluse.obj : error LNK2001: unresolved external symbol _RAND_load_file
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_check_private_key
ssluse.obj : error LNK2001: unresolved external symbol
_EVP_PKEY_copy_parameters
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_pubkey
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_privatekey
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_certificate
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_use_PrivateKey_file
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_use_certificate_file
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_set_default_passwd_cb
ssluse.obj : error LNK2001: unresolved external symbol
_SSL_CTX_set_default_passwd_cb_userdata
ssluse.obj : error LNK2001: unresolved external symbol
_X509_STORE_CTX_get_current_cert
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get1_session
version.obj : error LNK2001: unresolved external symbol _SSLeay
libcurl.dll : fatal error LNK1120: 53 unresolved externals

-- 
.=================================================================.
| =-=-=-=-=-=-= Eagle Rock Information Systems Corp =-=-=-=-=-=-= |
| -=-=-=-=-=-=- web and database business solutions -=-=-=-=-=-=- |
|   <http://www.eriscorp.com>        <mailto:info@eriscorp.com>   |
|Midwest Regional Office: 815-547-0662 (voice) 503-905-8153 (eFax)|
.=================================================================.
Received on 2002-04-11