-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
Description
unable to generated statically linked libraries on osx.
cmake . -DLINK_STATIC=ON -DBUILD_TESTS=OFF -DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Versions/2.7/include/python2.7
[ 97%] Building CXX object python/CMakeFiles/_pulsar.dir/src/reader.cc.o
[100%] Building CXX object python/CMakeFiles/_pulsar.dir/src/schema.cc.o
[100%] Linking CXX shared library _pulsar.so
Undefined symbols for architecture x86_64:
"_BrotliDecoderCreateInstance", referenced from:
_brotli_init_writer in libcurl.a(libcurl_la-content_encoding.o)
"_BrotliDecoderDecompressStream", referenced from:
_brotli_unencode_write in libcurl.a(libcurl_la-content_encoding.o)
"_BrotliDecoderDestroyInstance", referenced from:
_brotli_unencode_write in libcurl.a(libcurl_la-content_encoding.o)
_brotli_close_writer in libcurl.a(libcurl_la-content_encoding.o)
"_BrotliDecoderGetErrorCode", referenced from:
_brotli_unencode_write in libcurl.a(libcurl_la-content_encoding.o)
"_BrotliDecoderVersion", referenced from:
_curl_version_info in libcurl.a(libcurl_la-version.o)
_brotli_version in libcurl.a(libcurl_la-version.o)
"_RTMP_Alloc", referenced from:
_rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Close", referenced from:
_rtmp_disconnect in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Connect1", referenced from:
_rtmp_connect in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_ConnectStream", referenced from:
_rtmp_do in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Free", referenced from:
_rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
_rtmp_disconnect in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Init", referenced from:
_rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Read", referenced from:
_rtmp_recv in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_SetBufferMS", referenced from:
_rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_SetupURL", referenced from:
_rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
"_RTMP_Write", referenced from:
_rtmp_send in libcurl.a(libcurl_la-curl_rtmp.o)
"_ber_free", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_idn2_check_version", referenced from:
_idnconvert_hostname in libcurl.a(libcurl_la-url.o)
_curl_version in libcurl.a(libcurl_la-version.o)
_curl_version_info in libcurl.a(libcurl_la-version.o)
"_idn2_free", referenced from:
_conn_free in libcurl.a(libcurl_la-url.o)
_create_conn in libcurl.a(libcurl_la-url.o)
"_idn2_lookup_ul", referenced from:
_idnconvert_hostname in libcurl.a(libcurl_la-url.o)
"_idn2_strerror", referenced from:
_idnconvert_hostname in libcurl.a(libcurl_la-url.o)
"_ldap_err2string", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_first_attribute", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_first_entry", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_free_urldesc", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_get_dn", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_get_values_len", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_init", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_memfree", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_msgfree", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_next_attribute", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_next_entry", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_search_s", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_set_option", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_simple_bind_s", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_unbind_s", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_url_parse", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_ldap_value_free_len", referenced from:
_Curl_ldap in libcurl.a(libcurl_la-ldap.o)
"_nghttp2_http2_strerror", referenced from:
_http2_handle_stream_close in libcurl.a(libcurl_la-http2.o)
"_nghttp2_is_fatal", referenced from:
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
_http2_recv in libcurl.a(libcurl_la-http2.o)
_http2_send in libcurl.a(libcurl_la-http2.o)
_on_frame_recv in libcurl.a(libcurl_la-http2.o)
"_nghttp2_pack_settings_payload", referenced from:
_Curl_http2_request_upgrade in libcurl.a(libcurl_la-http2.o)
"_nghttp2_priority_spec_init", referenced from:
_h2_pri_spec in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_del", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_new", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_error_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_on_begin_headers_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_on_data_chunk_recv_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_on_frame_recv_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_on_header_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_on_stream_close_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_callbacks_set_send_callback", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_client_new", referenced from:
_Curl_http2_setup in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_del", referenced from:
_http2_disconnect in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_get_remote_settings", referenced from:
_on_frame_recv in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_get_stream_user_data", referenced from:
_on_frame_recv in libcurl.a(libcurl_la-http2.o)
_on_data_chunk_recv in libcurl.a(libcurl_la-http2.o)
_on_stream_close in libcurl.a(libcurl_la-http2.o)
_on_begin_headers in libcurl.a(libcurl_la-http2.o)
_on_header in libcurl.a(libcurl_la-http2.o)
_data_source_read_callback in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_mem_recv", referenced from:
_h2_process_pending_input in libcurl.a(libcurl_la-http2.o)
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
_http2_recv in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_resume_data", referenced from:
_Curl_http2_done_sending in libcurl.a(libcurl_la-http2.o)
_http2_send in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_send", referenced from:
_Curl_http2_done in libcurl.a(libcurl_la-http2.o)
_http2_send in libcurl.a(libcurl_la-http2.o)
_h2_session_send in libcurl.a(libcurl_la-http2.o)
_http2_conncheck in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_set_local_window_size", referenced from:
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_set_stream_user_data", referenced from:
_Curl_http2_done in libcurl.a(libcurl_la-http2.o)
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
_on_frame_recv in libcurl.a(libcurl_la-http2.o)
_on_stream_close in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_upgrade", referenced from:
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_want_read", referenced from:
_should_close_session in libcurl.a(libcurl_la-http2.o)
"_nghttp2_session_want_write", referenced from:
_should_close_session in libcurl.a(libcurl_la-http2.o)
_http2_getsock in libcurl.a(libcurl_la-http2.o)
_http2_perform_getsock in libcurl.a(libcurl_la-http2.o)
"_nghttp2_strerror", referenced from:
_h2_process_pending_input in libcurl.a(libcurl_la-http2.o)
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
_http2_recv in libcurl.a(libcurl_la-http2.o)
_http2_conncheck in libcurl.a(libcurl_la-http2.o)
"_nghttp2_submit_ping", referenced from:
_http2_conncheck in libcurl.a(libcurl_la-http2.o)
"_nghttp2_submit_priority", referenced from:
_h2_session_send in libcurl.a(libcurl_la-http2.o)
"_nghttp2_submit_request", referenced from:
_http2_send in libcurl.a(libcurl_la-http2.o)
"_nghttp2_submit_rst_stream", referenced from:
_Curl_http2_done in libcurl.a(libcurl_la-http2.o)
_on_frame_recv in libcurl.a(libcurl_la-http2.o)
_on_header in libcurl.a(libcurl_la-http2.o)
"_nghttp2_submit_settings", referenced from:
_Curl_http2_switched in libcurl.a(libcurl_la-http2.o)
"_nghttp2_version", referenced from:
_Curl_http2_ver in libcurl.a(libcurl_la-http2.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[3]: *** [python/_pulsar.so] Error 1
make[2]: *** [python/CMakeFiles/_pulsar.dir/all] Error 2
make[1]: *** [python/CMakeFiles/_pulsar.dir/rule] Error 2
make: *** [_pulsar] Error 2
Metadata
Metadata
Assignees
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug