Linking to static libraries with a local DMD install
rikki cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 20 22:38:16 PDT 2016
On 21/08/2016 5:01 PM, Henry GOuk wrote:
> On Sunday, 21 August 2016 at 04:32:29 UTC, rikki cattermole wrote:
>> On 21/08/2016 3:54 PM, Henry GOuk wrote:
>>
>> Please post the error message, without it we're guessing.
>
> $ dub build
> Performing "debug" build using dmd for x86_64.
> vibe-d:utils 0.7.29: target for configuration "library" is up to date.
> vibe-d:data 0.7.29: target for configuration "library" is up to date.
> vibe-d:core 0.7.29: target for configuration "libevent" is up to date.
> vibe-d:http 0.7.29: target for configuration "library" is up to date.
> vibe-d:diet 0.7.29: target for configuration "library" is up to date.
> vibe-d:mail 0.7.29: target for configuration "library" is up to date.
> vibe-d:mongodb 0.7.29: target for configuration "library" is up to date.
> vibe-d:redis 0.7.29: target for configuration "library" is up to date.
> vibe-d:web 0.7.29: target for configuration "library" is up to date.
> vibe-d 0.7.29: target for configuration "libevent" is up to date.
> test ~master: building configuration "application"...
> Linking...
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function
> `_D4vibe6stream7openssl13OpenSSLStream6__ctorMFC4vibe4core6stream6StreamC4vibe6stream7openssl14OpenSSLContextE4vibe6stream3tls14TLSStreamStateAyaS4vibe4core3net14NetworkAddressAAyaZC4vibe6stream7openssl13OpenSSLStream':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:78:
> undefined reference to `BIO_new'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:84:
> undefined reference to `SSL_set_bio'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:93:
> undefined reference to `SSL_set_ex_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:99:
> undefined reference to `SSL_accept'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:105:
> undefined reference to `SSL_ctrl'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:107:
> undefined reference to `SSL_connect'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:116:
> undefined reference to `SSL_get_peer_certificate'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:120:
> undefined reference to `SSL_get_verify_result'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:117:
> undefined reference to `X509_free'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:114:
> undefined reference to `SSL_shutdown'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:94:
> undefined reference to `SSL_set_ex_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:74:
> undefined reference to `SSL_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function
> `_D4vibe6stream7openssl13OpenSSLStream16readPeerCertInfoMFPS6deimos7openssl4x5097x509_stZv':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:158:
> undefined reference to `X509_get_subject_name'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:158:
> undefined reference to `X509_NAME_entry_count'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:162:
> undefined reference to `X509_NAME_get_entry'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:162:
> undefined reference to `X509_NAME_ENTRY_get_object'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:162:
> undefined reference to `X509_NAME_ENTRY_get_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:164:
> undefined reference to `OBJ_obj2nid'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:164:
> undefined reference to `OBJ_nid2ln'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream6__dtorMFZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:176:
> undefined reference to `SSL_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream9leastSizeMFNdZm':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:186:
> undefined reference to `SSL_pending'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function
> `_D4vibe6stream7openssl13OpenSSLStream20dataAvailableForReadMFNdZb':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:192:
> undefined reference to `SSL_pending'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream4peekMFZAxh':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:197:
> undefined reference to `SSL_peek'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream4readMFAhZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:206:
> undefined reference to `SSL_read'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream5writeMFxAhZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:217:
> undefined reference to `SSL_write'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream8finalizeMFZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:235:
> undefined reference to `SSL_shutdown'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:236:
> undefined reference to `SSL_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream11checkSSLRetMFiAyaZi':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:254:
> undefined reference to `SSL_get_error'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:274:
> undefined reference to `ERR_get_error_line_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:275:
> undefined reference to `ERR_error_string'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ad_4f0.o):
> In function `_D4vibe6stream7openssl13OpenSSLStream10enforceSSLMFiAyaZi':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:295:
> undefined reference to `ERR_get_error_line_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:296:
> undefined reference to `ERR_error_string_n'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:299:
> undefined reference to `ERR_peek_error'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext6__ctorMFE4vibe6stream3tls14TLSContextKindE4vibe6stream3tls10TLSVersionZC4vibe6stream7openssl14OpenSSLContext':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:393:
> undefined reference to `SSLv23_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:394:
> undefined reference to `SSLv23_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:395:
> undefined reference to `TLSv1_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:398:
> undefined reference to `SSLv23_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:399:
> undefined reference to `SSLv23_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:400:
> undefined reference to `DTLSv1_client_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:406:
> undefined reference to `SSLv23_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:407:
> undefined reference to `SSLv23_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:408:
> undefined reference to `TLSv1_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:409:
> undefined reference to `SSLv23_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:410:
> undefined reference to `SSLv23_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:413:
> undefined reference to `DTLSv1_server_method'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:419:
> undefined reference to `SSL_CTX_new'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function `_D4vibe6stream7openssl14OpenSSLContext6__dtorMFZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:463:
> undefined reference to `SSL_CTX_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext18peerValidationModeMFNdE4vibe6stream3tls21TLSPeerValidationModeZv':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:532:
> undefined reference to `SSL_CTX_set_verify'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext18maxCertChainLengthMFNdiZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:549:
> undefined reference to `SSL_CTX_set_verify_depth'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext11sniCallbackMFNdDFAyaZC4vibe6stream3tls10TLSContextZv':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:572:
> undefined reference to `SSL_CTX_callback_ctrl'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:573:
> undefined reference to `SSL_CTX_ctrl'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext22onContextForServerNameUPS6deimos7openssl3ssl6ssl_stPiPvZi':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:582:
> undefined reference to `SSL_get_servername'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:586:
> undefined reference to `SSL_set_SSL_CTX'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function `_D4vibe6stream7openssl14OpenSSLContext13setCipherListMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:606:
> undefined reference to `SSL_CTX_set_cipher_list'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:610:
> undefined reference to `SSL_CTX_set_cipher_list'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext21guessSessionIDContextMFZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:625:
> undefined reference to `SSL_CTX_set_session_id_context'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function `_D4vibe6stream7openssl14OpenSSLContext11setDHParamsMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:642:
> undefined reference to `DH_new'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:643:
> undefined reference to `get_rfc3526_prime_2048'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:645:
> undefined reference to `BN_bin2bn'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:651:
> undefined reference to `PEM_read_DHparams'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:639:
> undefined reference to `DH_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function `_D4vibe6stream7openssl14OpenSSLContext12setECDHCurveMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:683:
> undefined reference to `OBJ_sn2nid'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:685:
> undefined reference to `EC_KEY_new_by_curve_name'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:685:
> undefined reference to `EC_KEY_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext23useCertificateChainFileMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:694:
> undefined reference to `SSL_CTX_use_certificate_chain_file'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext17usePrivateKeyFileMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:701:
> undefined reference to `SSL_CTX_use_PrivateKey_file'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext25useTrustedCertificateFileMFAyaZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:716:
> undefined reference to `SSL_CTX_load_verify_locations'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:720:
> undefined reference to `SSL_load_client_CA_file'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:722:
> undefined reference to `SSL_CTX_set_client_CA_list'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext15createClientCtxMFZPS6deimos7openssl3ssl6ssl_st':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:728:
> undefined reference to `SSL_new'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext15verify_callbackUNbiPS6deimos7openssl8x509_vfy17x509_store_ctx_stZi':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_STORE_CTX_get_current_cert'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_STORE_CTX_get_error'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_STORE_CTX_get_error_depth'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:746:
> undefined reference to `SSL_get_ex_data_X509_STORE_CTX_idx'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_STORE_CTX_get_ex_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:746:
> undefined reference to `SSL_get_ex_data'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_get_subject_name'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:742:
> undefined reference to `X509_NAME_oneline'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:770:
> undefined reference to `X509_get_issuer_name'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:770:
> undefined reference to `X509_NAME_oneline'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:807:
> undefined reference to `X509_STORE_CTX_set_error'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22ae_569.o):
> In function
> `_D4vibe6stream7openssl14OpenSSLContext15verify_callbackUNbiPS6deimos7openssl8x509_vfy17x509_store_ctx_stZ12__dgliteral6MFNaNbNiNfZAya':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:762:
> undefined reference to `X509_verify_cert_error_string'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22b0_5a4.o):
> In function
> `_D4vibe6stream7openssl14verifyCertNameFPS6deimos7openssl4x5097x509_stixAabZb':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:884:
> undefined reference to `X509_get_ext_d2i'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:885:
> undefined reference to `GENERAL_NAMES_free'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:896:
> undefined reference to `X509_get_subject_name'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:898:
> undefined reference to `X509_NAME_get_index_by_NID'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:899:
> undefined reference to `X509_NAME_get_entry'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:899:
> undefined reference to `X509_NAME_ENTRY_get_data'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl_22b0_5a4.o):
> In function
> `_D4vibe6stream7openssl14verifyCertNameFPS6deimos7openssl4x5097x509_stixAabZ11check_valueMFPS6deimos7openssl4asn114asn1_string_stiZb':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:863:
> undefined reference to `ASN1_STRING_to_UTF8'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:865:
> undefined reference to `CRYPTO_free'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(ssl_22bc_7c8.o):
> In function
> `_D6deimos7openssl3ssl25__T19SSL_CTX_set_optionsZ19SSL_CTX_set_optionsUNbPS6deimos7openssl3ssl10ssl_ctx_stlZl':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/openssl-1.1.4_1.0.1g/openssl/deimos/openssl/ssl.d:665:
> undefined reference to `SSL_CTX_ctrl'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(ssl_22bd_738.o):
> In function
> `_D6deimos7openssl3ssl24__T18SSL_CTX_set_tmp_dhZ18SSL_CTX_set_tmp_dhUNbPS6deimos7openssl3ssl10ssl_ctx_stPvZl':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/openssl-1.1.4_1.0.1g/openssl/deimos/openssl/ssl.d:1698:
> undefined reference to `SSL_CTX_ctrl'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(ssl_22be_800.o):
> In function
> `_D6deimos7openssl3ssl26__T20SSL_CTX_set_tmp_ecdhZ20SSL_CTX_set_tmp_ecdhUNbPS6deimos7openssl3ssl10ssl_ctx_stPvZl':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/openssl-1.1.4_1.0.1g/openssl/deimos/openssl/ssl.d:1701:
> undefined reference to `SSL_CTX_ctrl'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(safestack_22c4_449.o):
> In function
> `_D6deimos7openssl9safestack57__T10SKM_sk_numTS6deimos7openssl6x509v315GENERAL_NAME_stZ16__T10SKM_sk_numZ10SKM_sk_numFNbPS6deimos7openssl9safestack54__T8STACK_OFTS6deimos7openssl6x509v315GENERAL_NAME_stZ8STACK_OFZi':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/openssl-1.1.4_1.0.1g/openssl/deimos/openssl/safestack.d:140:
> undefined reference to `sk_num'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(safestack_22c6_516.o):
> In function
> `_D6deimos7openssl9safestack59__T12SKM_sk_valueTS6deimos7openssl6x509v315GENERAL_NAME_stZ18__T12SKM_sk_valueZ12SKM_sk_valueFNbPS6deimos7openssl9safestack54__T8STACK_OFTS6deimos7openssl6x509v315GENERAL_NAME_stZ8STACK_OFiZPS6deimos7openssl6x509v315GENERAL_NAME_st':
>
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/openssl-1.1.4_1.0.1g/openssl/deimos/openssl/safestack.d:142:
> undefined reference to `sk_value'
> ../../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_core.a(openssl.o): In
> function `_D4vibe6stream7openssl20_sharedStaticCtor101FZv':
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:829:
> undefined reference to `SSL_load_error_strings'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:830:
> undefined reference to `SSL_library_init'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:832:
> undefined reference to `CRYPTO_num_locks'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:840:
> undefined reference to `CRYPTO_set_id_callback'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:841:
> undefined reference to `CRYPTO_set_locking_callback'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:843:
> undefined reference to `RAND_poll'
> /home/hgrg1/Projects/stream2vec/../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/stream/openssl.d:846:
> undefined reference to `SSL_get_ex_new_index'
> collect2: error: ld returned 1 exit status
> --- errorlevel 1
> dmd failed with exit code 1.
Appears that OpenSSL dev package is indeed installed, but yet symbols
are not found. Weird.
More information about the Digitalmars-d-learn
mailing list