Я весь день пытался построить libcurl, но безуспешно. Что я делаю не так?
Я весь день пытался построить libcurl, но безуспешно. Что я делаю не так?
Были сгенерированы следующие ошибки, которые, по-видимому, связаны с openssl. Я действительно не понимаю этого.
C:\curl-7.53.1\winbuild>nmake /f Makefile.vc mode=static WITH_SSL=static WITH_DE VEL=C:\OpenSSL-Win32 VC=11 ENABLE_SSPI=no ENABLE_IDN=no ENABLE_WINSSL=no DEBUG=n o MACHINE=x86 GEN_PDB=no ENABLE_IPV6=yes Microsoft (R) Program Maintenance Utility Version 11.00.50727.1 Copyright (C) Microsoft Corporation. All rights reserved. configuration name: libcurl-vc11-x86-release-static-ssl-static-ipv6 Using SSL: true Using NGHTTP2: false Using c-ares: Using SSH2: Using ZLIB: Using IDN: false Using IPv6: true Using SSPI: false Using WinSSL: false CFLAGS: /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_L IBCURL /I"C:\OpenSSL-Win32/include" /DUSE_OPENSSL /I"C:\OpenSSL-Win32/include/op enssl" /DUSE_IPV6 LFLAGS: /nologo /machine:x86 "/LIBPATH:C:\OpenSSL-Win32/lib" libeay32.lib ssleay 32.lib gdi32.lib user32.lib crypt32.lib GenPDB: no Debug: no Machine: x86 link.exe /lib ws2_32.lib wldap32.lib advapi32.lib /out:..\builds\libcurl -vc11-x86-release-static-ssl-static-ipv6-obj-lib\libcurl_a.lib /nologo /machine: x86 "/LIBPATH:C:\OpenSSL-Win32/lib" libeay32.lib ssleay32.lib gdi32.lib user32. lib crypt32.lib ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-li b/file.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/ti meval.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/bas e64.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/hosti p.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/progres s.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/formdat a.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/cookie. obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/http.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/sendf.obj .. \builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/ftp.obj ..\buil ds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/url.obj ..\builds\li bcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/dict.obj ..\builds\libcur l-vc11-x86-release-static-ssl-static-ipv6-obj-lib/if2ip.obj ..\builds\libcurl-v c11-x86-release-static-ssl-static-ipv6-obj-lib/speedcheck.obj ..\builds\libcurl -vc11-x86-release-static-ssl-static-ipv6-obj-lib/ldap.obj ..\builds\libcurl-vc1 1-x86-release-static-ssl-static-ipv6-obj-lib/version.obj ..\builds\libcurl-vc11 -x86-release-static-ssl-static-ipv6-obj-lib/getenv.obj ..\builds\libcurl-vc11-x 86-release-static-ssl-static-ipv6-obj-lib/escape.obj ..\builds\libcurl-vc11-x86 -release-static-ssl-static-ipv6-obj-lib/mprintf.obj ..\builds\libcurl-vc11-x86- release-static-ssl-static-ipv6-obj-lib/telnet.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/netrc.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-lib/getinfo.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-lib/transfer.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-lib/strcase.obj ..\builds\libcurl-vc11-x86-release -static-ssl-static-ipv6-obj-lib/easy.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/security.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/curl_fnmatch.obj ..\builds\libcurl-vc11-x86-release -static-ssl-static-ipv6-obj-lib/fileinfo.obj ..\builds\libcurl-vc11-x86-release -static-ssl-static-ipv6-obj-lib/ftplistparser.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/wildcard.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/krb5.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-lib/memdebug.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-lib/http_chunks.obj ..\builds\libcurl-vc11-x86-rel ease-static-ssl-static-ipv6-obj-lib/strtok.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-lib/connect.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-lib/llist.obj ..\builds\libcurl-vc11-x86-release-s tatic-ssl-static-ipv6-obj-lib/hash.obj ..\builds\libcurl-vc11-x86-release-stati c-ssl-static-ipv6-obj-lib/multi.obj ..\builds\libcurl-vc11-x86-release-static-s sl-static-ipv6-obj-lib/content_encoding.obj ..\builds\libcurl-vc11-x86-release- static-ssl-static-ipv6-obj-lib/share.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/http_digest.obj ..\builds\libcurl-vc11-x86-release- static-ssl-static-ipv6-obj-lib/md4.obj ..\builds\libcurl-vc11-x86-release-stati c-ssl-static-ipv6-obj-lib/md5.obj ..\builds\libcurl-vc11-x86-release-static-ssl -static-ipv6-obj-lib/http_negotiate.obj ..\builds\libcurl-vc11-x86-release-stat ic-ssl-static-ipv6-obj-lib/inet_pton.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/strtoofft.obj ..\builds\libcurl-vc11-x86-release-st atic-ssl-static-ipv6-obj-lib/strerror.obj ..\builds\libcurl-vc11-x86-release-st atic-ssl-static-ipv6-obj-lib/amigaos.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/hostasyn.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/hostip4.obj ..\builds\libcurl-vc11-x86-release-stat ic-ssl-static-ipv6-obj-lib/hostip6.obj ..\builds\libcurl-vc11-x86-release-stati c-ssl-static-ipv6-obj-lib/hostsyn.obj ..\builds\libcurl-vc11-x86-release-static -ssl-static-ipv6-obj-lib/inet_ntop.obj ..\builds\libcurl-vc11-x86-release-stati c-ssl-static-ipv6-obj-lib/parsedate.obj ..\builds\libcurl-vc11-x86-release-stat ic-ssl-static-ipv6-obj-lib/select.obj ..\builds\libcurl-vc11-x86-release-static -ssl-static-ipv6-obj-lib/tftp.obj ..\builds\libcurl-vc11-x86-release-static-ssl -static-ipv6-obj-lib/splay.obj ..\builds\libcurl-vc11-x86-release-static-ssl-st atic-ipv6-obj-lib/strdup.obj ..\builds\libcurl-vc11-x86-release-static-ssl-stat ic-ipv6-obj-lib/socks.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static- ipv6-obj-lib/ssh.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6- obj-lib/curl_addrinfo.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static- ipv6-obj-lib/socks_gssapi.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-lib/socks_sspi.obj ..\builds\libcurl-vc11-x86-release-static-ssl-s tatic-ipv6-obj-lib/curl_sspi.obj ..\builds\libcurl-vc11-x86-release-static-ssl- static-ipv6-obj-lib/slist.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-lib/nonblock.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-lib/curl_memrchr.obj ..\builds\libcurl-vc11-x86-release-static-ssl -static-ipv6-obj-lib/imap.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-lib/pop3.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static- ipv6-obj-lib/smtp.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6 -obj-lib/pingpong.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6 -obj-lib/rtsp.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj -lib/curl_threads.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6 -obj-lib/warnless.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6 -obj-lib/hmac.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj -lib/curl_rtmp.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-ob j-lib/openldap.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-ob j-lib/curl_gethostname.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static -ipv6-obj-lib/gopher.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-i pv6-obj-lib/idn_win32.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static- ipv6-obj-lib/http_proxy.obj ..\builds\libcurl-vc11-x86-release-static-ssl-stati c-ipv6-obj-lib/non-ascii.obj ..\builds\libcurl-vc11-x86-release-static-ssl-stat ic-ipv6-obj-lib/asyn-ares.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-lib/asyn-thread.obj ..\builds\libcurl-vc11-x86-release-static-ssl- static-ipv6-obj-lib/curl_gssapi.obj ..\builds\libcurl-vc11-x86-release-static-s sl-static-ipv6-obj-lib/http_ntlm.obj ..\builds\libcurl-vc11-x86-release-static- ssl-static-ipv6-obj-lib/curl_ntlm_wb.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-lib/curl_ntlm_core.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-lib/curl_sasl.obj ..\builds\libcurl-vc11-x86-rele ase-static-ssl-static-ipv6-obj-lib/rand.obj ..\builds\libcurl-vc11-x86-release- static-ssl-static-ipv6-obj-lib/curl_multibyte.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/hostcheck.obj ..\builds\libcurl-vc11-x86-r elease-static-ssl-static-ipv6-obj-lib/conncache.obj ..\builds\libcurl-vc11-x86- release-static-ssl-static-ipv6-obj-lib/pipeline.obj ..\builds\libcurl-vc11-x86- release-static-ssl-static-ipv6-obj-lib/dotdot.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/x509asn1.obj ..\builds\libcurl-vc11-x86-re lease-static-ssl-static-ipv6-obj-lib/http2.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-lib/smb.obj ..\builds\libcurl-vc11-x86-release-st atic-ssl-static-ipv6-obj-lib/curl_endian.obj ..\builds\libcurl-vc11-x86-release -static-ssl-static-ipv6-obj-lib/curl_des.obj ..\builds\libcurl-vc11-x86-release -static-ssl-static-ipv6-obj-lib/system_win32.obj ..\builds\libcurl-vc11-x86-rel ease-static-ssl-static-ipv6-obj-lib/vauth/vauth.obj ..\builds\libcurl-vc11-x86- release-static-ssl-static-ipv6-obj-lib/vauth/cleartext.obj ..\builds\libcurl-vc 11-x86-release-static-ssl-static-ipv6-obj-lib/vauth/cram.obj ..\builds\libcurl- vc11-x86-release-static-ssl-static-ipv6-obj-lib/vauth/digest.obj ..\builds\libc url-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vauth/digest_sspi.obj ..\bu ilds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vauth/krb5_gssapi.o bj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vauth/krb5 _sspi.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vau th/ntlm.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/v auth/ntlm_sspi.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-ob j-lib/vauth/oauth2.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv 6-obj-lib/vauth/spnego_gssapi.obj ..\builds\libcurl-vc11-x86-release-static-ssl -static-ipv6-obj-lib/vauth/spnego_sspi.obj ..\builds\libcurl-vc11-x86-release-s tatic-ssl-static-ipv6-obj-lib/vtls/openssl.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-lib/vtls/gtls.obj ..\builds\libcurl-vc11-x86-rele ase-static-ssl-static-ipv6-obj-lib/vtls/vtls.obj ..\builds\libcurl-vc11-x86-rel ease-static-ssl-static-ipv6-obj-lib/vtls/nss.obj ..\builds\libcurl-vc11-x86-rel ease-static-ssl-static-ipv6-obj-lib/vtls/polarssl.obj ..\builds\libcurl-vc11-x8 6-release-static-ssl-static-ipv6-obj-lib/vtls/polarssl_threadlock.obj ..\builds \libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/axtls.obj ..\buil ds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/cyassl.obj ..\b uilds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/schannel.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/darwinss l.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/gs kit.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-lib/vtls/ mbedtls.obj wldap32.lib(WLDAP32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already def ined in ws2_32.lib(WS2_32.dll); second definition ignored wldap32.lib(WLDAP32.dll) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operati on that consumes this library advapi32.lib(ADVAPI32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already d efined in ws2_32.lib(WS2_32.dll); second definition ignored advapi32.lib(ADVAPI32.dll) : warning LNK4221: This object file does not define a ny previously undefined public symbols, so it will not be used by any link opera tion that consumes this library libeay32.lib(LIBEAY32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already d efined in ws2_32.lib(WS2_32.dll); second definition ignored libeay32.lib(LIBEAY32.dll) : warning LNK4221: This object file does not define a ny previously undefined public symbols, so it will not be used by any link opera tion that consumes this library ssleay32.lib(SSLEAY32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already d efined in ws2_32.lib(WS2_32.dll); second definition ignored ssleay32.lib(SSLEAY32.dll) : warning LNK4221: This object file does not define a ny previously undefined public symbols, so it will not be used by any link opera tion that consumes this library gdi32.lib(GDI32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in ws2_32.lib(WS2_32.dll); second definition ignored gdi32.lib(GDI32.dll) : warning LNK4221: This object file does not define any pre viously undefined public symbols, so it will not be used by any link operation t hat consumes this library user32.lib(USER32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defin ed in ws2_32.lib(WS2_32.dll); second definition ignored user32.lib(USER32.dll) : warning LNK4221: This object file does not define any p reviously undefined public symbols, so it will not be used by any link operation that consumes this library crypt32.lib(CRYPT32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already def ined in ws2_32.lib(WS2_32.dll); second definition ignored crypt32.lib(CRYPT32.dll) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operati on that consumes this library Copying libs... link.exe /incremental:no /libpath:"..\builds\libcurl-vc11-x86-release-st atic-ssl-static-ipv6\lib" /nologo /out:..\builds\libcurl-vc11-x86-release-static -ssl-static-ipv6\bin\curl.exe /subsystem:console /machine:x86 libcurl_a.lib ws2_ 32.lib wldap32.lib advapi32.lib ..\builds\libcurl-vc11-x86-release-static-ssl-st atic-ipv6-obj-curl\tool_hugehelp.obj ..\builds\libcurl-vc11-x86-release-static- ssl-static-ipv6-obj-curl\nonblock.obj ..\builds\libcurl-vc11-x86-release-static -ssl-static-ipv6-obj-curl\strtoofft.obj ..\builds\libcurl-vc11-x86-release-stat ic-ssl-static-ipv6-obj-curl\warnless.obj ..\builds\libcurl-vc11-x86-release-stat ic-ssl-static-ipv6-obj-curl/slist_wc.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-curl/tool_binmode.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-curl/tool_bname.obj ..\builds\libcurl-vc11-x86-rel ease-static-ssl-static-ipv6-obj-curl/tool_cb_dbg.obj ..\builds\libcurl-vc11-x86 -release-static-ssl-static-ipv6-obj-curl/tool_cb_hdr.obj ..\builds\libcurl-vc11 -x86-release-static-ssl-static-ipv6-obj-curl/tool_cb_prg.obj ..\builds\libcurl- vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_cb_rea.obj ..\builds\libc url-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_cb_see.obj ..\builds\ libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_cb_wrt.obj ..\bui lds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_cfgable.obj . .\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_convert.o bj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_dirh ie.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_ doswin.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/t ool_easysrc.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-c url/tool_formparse.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv 6-obj-curl/tool_getparam.obj ..\builds\libcurl-vc11-x86-release-static-ssl-stat ic-ipv6-obj-curl/tool_getpass.obj ..\builds\libcurl-vc11-x86-release-static-ssl -static-ipv6-obj-curl/tool_help.obj ..\builds\libcurl-vc11-x86-release-static-s sl-static-ipv6-obj-curl/tool_helpers.obj ..\builds\libcurl-vc11-x86-release-sta tic-ssl-static-ipv6-obj-curl/tool_homedir.obj ..\builds\libcurl-vc11-x86-releas e-static-ssl-static-ipv6-obj-curl/tool_libinfo.obj ..\builds\libcurl-vc11-x86-r elease-static-ssl-static-ipv6-obj-curl/tool_main.obj ..\builds\libcurl-vc11-x86 -release-static-ssl-static-ipv6-obj-curl/tool_metalink.obj ..\builds\libcurl-vc 11-x86-release-static-ssl-static-ipv6-obj-curl/tool_mfiles.obj ..\builds\libcur l-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_msgs.obj ..\builds\libc url-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_operate.obj ..\builds \libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_operhlp.obj ..\b uilds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_panykey.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_paramhl p.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/tool_p arsecfg.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-curl/ tool_strdup.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-obj-c url/tool_setopt.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6-o bj-curl/tool_sleep.obj ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv 6-obj-curl/tool_urlglob.obj ..\builds\libcurl-vc11-x86-release-static-ssl-stati c-ipv6-obj-curl/tool_util.obj ..\builds\libcurl-vc11-x86-release-static-ssl-sta tic-ipv6-obj-curl/tool_vms.obj ..\builds\libcurl-vc11-x86-release-static-ssl-st atic-ipv6-obj-curl/tool_writeenv.obj ..\builds\libcurl-vc11-x86-release-static- ssl-static-ipv6-obj-curl/tool_writeout.obj ..\builds\libcurl-vc11-x86-release-s tatic-ssl-static-ipv6-obj-curl/tool_xattr.obj ..\builds\libcurl-vc11-x86-relea se-static-ssl-static-ipv6-obj-curl\curl.res libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _OPENSSL_ sk_num referenced in function _X509V3_ext libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _OPENSSL_ sk_value referenced in function _X509V3_ext libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _OpenSSL_ version_num referenced in function _Curl_ossl_version libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _ASN1_STR ING_get0_data referenced in function _verifyhost libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _EVP_PKEY _get0_RSA referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _EVP_PKEY _get0_DSA referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _EVP_PKEY _get0_DH referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _RSA_get0 _key referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _RSA_get0 _factors referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _RSA_get0 _crt_params referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _DH_get0_ pqg referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _DH_get0_ key referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _DSA_get0 _pqg referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _DSA_get0 _key referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get 0_signature referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get _version referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get 0_notBefore referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get 0_notAfter referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get _X509_PUBKEY referenced in function _pkp_pin_peer_pubkey libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _X509_get 0_extensions referenced in function _get_cert_chain libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _SSL_CTX_ set_options referenced in function _ossl_connect_step1 libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _SSL_CTX_ set_alpn_protos referenced in function _ossl_connect_step1 libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _SSL_get0 _alpn_selected referenced in function _ossl_connect_step2 libcurl_a.lib(openssl.obj) : error LNK2019: unresolved external symbol _TLS_clie nt_method referenced in function _ossl_connect_step1 ..\builds\libcurl-vc11-x86-release-static-ssl-static-ipv6\bin\curl.exe : fatal e rror LNK1120: 24 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BI N\link.exe"' : return code '0x460' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BI N\nmake.exe"' : return code '0x2' Stop. C:\curl-7.53.1\winbuild>
Что я уже пробовал:
Я потратил часы на поиски решения в интернете, но безрезультатно.
Richard MacCutchan
Вам нужно выяснить, какая библиотека отсутствует, которая определяет все эти неразрешенные символы.
Gbenbam
Спасибо. Я нашел проблему. Смотрите мое решение ниже.