-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.FeatureIt's a new feature.It's a new feature.
Milestone
Description
描述(Description)
Not possible to compile on Apple Silicon (m1 pro).
openssl installed and has proper PATH:
export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig"
-
SRS版本(Version):
4
-
SRS的日志如下(Log):
./configure --osx
...
(maybe you meant: _SCT_get_timestamp, _SCT_set_timestamp , _RAND_DRBG_set_reseed_time_interval , _CT_POLICY_EVAL_CTX_get_time , _PKCS7_add0_attrib_signing_time , _X509_STORE_CTX_set_time , _X509_time_adj , _x509_check_cert_time , _TS_TST_INFO_get_time , _TS_RESP_CTX_set_time_cb , _SSL_CTX_get_timeout , _SSL_CTX_set_timeout , _SSL_SESSION_get_time , _SSL_SESSION_get_timeout , _SSL_SESSION_set_timeout , _SSL_get_default_timeout , _TS_TST_INFO_set_time , _dtls1_check_timeout_num , _dtls1_double_timeout , _dtls1_is_timer_expired , _dtls1_handle_timeout , _dtls1_default_timeout , _tls1_default_timeout , _s_time_options , _SSL_SESSION_set_time , _dtls1_get_timeout , _ASN1_UTCTIME_cmp_time_t , _s_time_main , _CT_POLICY_EVAL_CTX_set_time , _asn1_time_from_tm , _err_clear_last_constant_time , _asn1_time_to_tm , _ssl3_default_timeout , _x509_set1_time , _dtls1_start_timer , _SCT_CTX_set_time , _X509_cmp_current_time , _X509_time_adj_ex , _X509_VERIFY_PARAM_set_time , _set_cert_times , _X509_VERIFY_PARAM_get_time , _X509_cmp_time , _ASN1_TIME_cmp_time_t , _DTLS_set_timer_cb , _dtls1_stop_timer )
"_times", referenced from:
_app_tminterval in libapps.a(apps.o)
(maybe you meant: _SCT_get_timestamp, _SCT_set_timestamp , _set_cert_times )
"_unlink", referenced from:
_do_dir in rehash.o
_s_server_main in s_server.o
_do_server in libapps.a(s_socket.o)
"_vfprintf", referenced from:
_OPENSSL_showfatal in libcrypto.a(cryptlib.o)
"_vsnprintf", referenced from:
_log_message in ocsp.o
(maybe you meant: _BIO_vsnprintf)
"_waitpid$UNIX2003", referenced from:
_ocsp_main in ocsp.o
"_write$UNIX2003", referenced from:
_conn_write in libcrypto.a(bss_conn.o)
_conn_puts in libcrypto.a(bss_conn.o)
_dgram_write in libcrypto.a(bss_dgram.o)
_sock_write in libcrypto.a(bss_sock.o)
_raw_write_stdout in libapps.a(apps.o)
_fd_write in libcrypto.a(bss_fd.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [apps/openssl] Error 1
make: *** [all] Error 2
Build openssl-1.1-fit failed.
./configure --osx --use-sys-ssl
checking whether to enable debug logging in all modules... no
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to leverage OpenSSL crypto... yes
checking whether to leverage NSS crypto... no
checking for user specified OpenSSL directory... no
checking for crypto... no
configure: error: Package requirements (libcrypto >= 1.0.1) were not met:
No package 'libcrypto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
jinleileiking
Metadata
Metadata
Assignees
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.FeatureIt's a new feature.It's a new feature.