Semantic (recursive struct check): 00:00:00.007021851 ( 727.32MB) Codegen (crystal): 00:00:07.300366512 ( 929.32MB) Codegen (bc+obj): 00:05:13.095256809 ( 929.32MB) Error target avalanchemq failed to compile: ld: error: undefined symbol: SSL_library_init >>> referenced by lib_ssl.cr:257 (/usr/local/lib/crystal/openssl/lib_ssl.cr:257) >>> _main.o:(__crystal_main) ld: error: undefined symbol: SSL_load_error_strings >>> referenced by lib_ssl.cr:257 (/usr/local/lib/crystal/openssl/lib_ssl.cr:257) >>> _main.o:(__crystal_main) ld: error: undefined symbol: OPENSSL_add_all_algorithms_noconf >>> referenced by lib_ssl.cr:257 (/usr/local/lib/crystal/openssl/lib_ssl.cr:257) >>> _main.o:(__crystal_main) ld: error: undefined symbol: ERR_load_crypto_strings >>> referenced by lib_ssl.cr:257 (/usr/local/lib/crystal/openssl/lib_ssl.cr:257) >>> _main.o:(__crystal_main) ld: error: undefined symbol: SSLv23_method >>> referenced by context.cr:12 (/usr/local/lib/crystal/openssl/ssl/context.cr:12) >>> _main.o:(__crystal_main) >>> referenced by context.cr:12 (/usr/local/lib/crystal/openssl/ssl/context.cr:12) >>> _main.o:(*OpenSSL::SSL::Context::Client::new:OpenSSL::SSL::Context::Client) ld: error: undefined symbol: EVP_MD_CTX_create >>> referenced by digest.cr:26 (/usr/local/lib/crystal/openssl/digest.cr:26) >>> _main.o:(*OpenSSL::Digest::new:OpenSSL::Digest) >>> referenced by digest.cr:26 (/usr/local/lib/crystal/openssl/digest.cr:26) >>> _main.o:(*Digest::SHA1@Digest::ClassMethods::hexdigest:String) >>> referenced by digest.cr:26 (/usr/local/lib/crystal/openssl/digest.cr:26) >>> _main.o:(*AvalancheMQ::HTTP::StaticController#call:(Array(Log::Entry) | Bool | Channel(Tuple(Log::Entry, Log::Backend+)) | HTTP::Server::Context | IO+ | Int32 | Int64 | Proc(IO+, Nil) | String | Nil)) ld: error: undefined symbol: EVP_MD_CTX_destroy >>> referenced by digest.cr:38 (/usr/local/lib/crystal/openssl/digest.cr:38) >>> _main.o:(~proc7Proc(Pointer(Void), Pointer(Void), Nil)@/usr/local/lib/crystal/gc/boehm.cr:164) >>> referenced by digest.cr:38 (/usr/local/lib/crystal/openssl/digest.cr:38) >>> _main.o:(~proc8Proc(Pointer(Void), Pointer(Void), Nil)@/usr/local/lib/crystal/gc/boehm.cr:164) >>> referenced by digest.cr:38 (/usr/local/lib/crystal/openssl/digest.cr:38) >>> _main.o:(~proc19Proc(Pointer(Void), Pointer(Void), Nil)@/usr/local/lib/crystal/gc/boehm.cr:164) ld: error: undefined symbol: sk_num >>> referenced by hostname_validation.cr:35 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:35) >>> _main.o:(~procProc(LibCrypto::X509_STORE_CTX, Pointer(Void), Int32)@/usr/local/lib/crystal/openssl/ssl/context.cr:92) ld: error: undefined symbol: sk_value >>> referenced by hostname_validation.cr:36 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:36) >>> _main.o:(~procProc(LibCrypto::X509_STORE_CTX, Pointer(Void), Int32)@/usr/local/lib/crystal/openssl/ssl/context.cr:92) ld: error: undefined symbol: sk_pop_free >>> referenced by hostname_validation.cr:71 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> _main.o:(~procProc(LibCrypto::X509_STORE_CTX, Pointer(Void), Int32)@/usr/local/lib/crystal/openssl/ssl/context.cr:92) >>> referenced by hostname_validation.cr:71 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> _main.o:(~procProc(LibCrypto::X509_STORE_CTX, Pointer(Void), Int32)@/usr/local/lib/crystal/openssl/ssl/context.cr:92) >>> referenced by hostname_validation.cr:71 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> _main.o:(~procProc(LibCrypto::X509_STORE_CTX, Pointer(Void), Int32)@/usr/local/lib/crystal/openssl/ssl/context.cr:92) ld: error: undefined symbol: sk_free >>> referenced by hostname_validation.cr:72 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:72) >>> _main.o:(~procProc(Pointer(Void), Nil)@/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> referenced by hostname_validation.cr:72 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:72) >>> _main.o:(~proc2Proc(Pointer(Void), Nil)@/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> referenced by hostname_validation.cr:72 (/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:72) >>> _main.o:(~proc3Proc(Pointer(Void), Nil)@/usr/local/lib/crystal/openssl/ssl/hostname_validation.cr:71) >>> referenced 3 more times cc: error: linker command failed with exit code 1 (use -v to see invocation) Error: execution of command failed with code: 1: `cc "${@}" -o /tmp/usr/ports/net/avalanchemq/work/avalanchemq-1.0.0-alpha.31/bin/avalanchemq -L/usr/lib -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lm -lgc-threaded -lpthread -L/usr/local/lib -levent -lpthread`