-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
I am experiencing an issue compiling ssl-cert-by-lua
on OS X 10.10, with the following error:
"_X509_get1_ocsp", referenced from:
_ngx_ssl_stapling in ngx_event_openssl_stapling.o
_ngx_http_lua_ffi_ssl_get_ocsp_responder_from_der_chain in ngx_http_lua_sslcertby.o
"_X509_get_issuer_name", referenced from:
_ngx_ssl_get_issuer_dn in ngx_event_openssl.o
"_X509_get_serialNumber", referenced from:
_ngx_ssl_get_serial_number in ngx_event_openssl.o
"_X509_get_subject_name", referenced from:
_ngx_ssl_get_subject_dn in ngx_event_openssl.o
"_X509_verify_cert_error_string", referenced from:
_ngx_http_process_request in ngx_http_request.o
_ngx_http_upstream_ssl_handshake in ngx_http_upstream.o
_ngx_http_lua_ssl_handshake_handler in ngx_http_lua_socket_tcp.o
"_d2i_OCSP_RESPONSE", referenced from:
_ngx_ssl_stapling in ngx_event_openssl_stapling.o
_ngx_ssl_stapling_ocsp_handler in ngx_event_openssl_stapling.o
_ngx_http_lua_ffi_ssl_validate_ocsp_response in ngx_http_lua_sslcertby.o
"_d2i_PrivateKey_bio", referenced from:
_ngx_http_lua_ffi_ssl_set_der_private_key in ngx_http_lua_sslcertby.o
"_d2i_SSL_SESSION", referenced from:
_ngx_ssl_get_cached_session in ngx_event_openssl.o
"_d2i_X509_bio", referenced from:
_ngx_http_lua_ffi_ssl_set_der_certificate in ngx_http_lua_sslcertby.o
_ngx_http_lua_ffi_ssl_get_ocsp_responder_from_der_chain in ngx_http_lua_sslcertby.o
_ngx_http_lua_ffi_ssl_create_ocsp_request in ngx_http_lua_sslcertby.o
_ngx_http_lua_ffi_ssl_validate_ocsp_response in ngx_http_lua_sslcertby.o
"_i2a_ASN1_INTEGER", referenced from:
_ngx_ssl_get_serial_number in ngx_event_openssl.o
"_i2d_OCSP_REQUEST", referenced from:
_ngx_ssl_certificate_status_callback in ngx_event_openssl_stapling.o
_ngx_http_lua_ffi_ssl_create_ocsp_request in ngx_http_lua_sslcertby.o
"_i2d_OCSP_RESPONSE", referenced from:
_ngx_ssl_stapling in ngx_event_openssl_stapling.o
"_i2d_SSL_SESSION", referenced from:
_ngx_ssl_new_session in ngx_event_openssl.o
"_i2d_X509", referenced from:
_ngx_http_lua_ffi_cert_pem_to_der in ngx_http_lua_sslcertby.o
"_sk_free", referenced from:
_ngx_http_lua_ffi_ssl_validate_ocsp_response in ngx_http_lua_sslcertby.o
"_sk_new_null", referenced from:
_ngx_http_lua_ffi_ssl_validate_ocsp_response in ngx_http_lua_sslcertby.o
"_sk_num", referenced from:
_ngx_ssl_session_cache in ngx_event_openssl.o
_ngx_ssl_stapling in ngx_event_openssl_stapling.o
"_sk_push", referenced from:
_ngx_http_lua_ffi_ssl_validate_ocsp_response in ngx_http_lua_sslcertby.o
"_sk_value", referenced from:
_ngx_ssl_session_cache in ngx_event_openssl.o
_ngx_ssl_stapling in ngx_event_openssl_stapling.o
_ngx_http_lua_ffi_ssl_get_ocsp_responder_from_der_chain in ngx_http_lua_sslcertby.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [objs/nginx] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 2
I have created this script to automate the installing process, and seems to be working fine on CentOS: https://gist.github.com/thefosk/521d6342bf5850bf8f41
Metadata
Metadata
Assignees
Labels
No labels