Link fails: ld: error: undefined reference due to --no-allow-shlib-undefined: typeinfo for snappy::Source
yurivict opened this issue · 0 comments
yurivict commented
[ 81% 153/182] : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DGLOG_USE_GLOG_EXPORT -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DGLOG_USE_GLOG_EXPORT -DNDEBUG -lexecinfo -fstack-protector-strong proxygen/httpserver/CMakeFiles/proxygen_push.dir/samples/push/PushServer.cpp.o proxygen/httpserver/CMakeFiles/proxygen_push.dir/samples/push/PushRequestHandler.cpp.o -o proxygen/httpserver/proxygen_push -Wl,-rpath,/wrkdirs/usr/ports/www/proxygen/work/.build/proxygen/httpserver:/wrkdirs/usr/ports/www/proxygen/work/.build/proxygen/lib:/usr/local/lib: proxygen/httpserver/libproxygenhttpserver.so proxygen/lib/libproxygen.so /usr/local/lib/libwangle.so.1.0.0 /usr/lib/librt.so /usr/local/lib/libzstd.so /usr/local/lib/libboost_iostreams.so /usr/local/lib/libboost_regex.so -lz /usr/local/lib/libmvfst_fizz_client.so.0 /usr/local/lib/libmvfst_client.so.0 /usr/local/lib/libmvfst_server.so.0 /usr/local/lib/libmvfst_server_state.so.0 /usr/local/lib/libmvfst_transport.so.0 /usr/local/lib/libmvfst_batch_writer.so.0 /usr/local/lib/libmvfst_cc_algo.so.0 /usr/local/lib/libmvfst_codec_pktrebuilder.so.0 /usr/local/lib/libmvfst_happyeyeballs.so.0 /usr/local/lib/libmvfst_async_udp_socket.so.0 /usr/local/lib/libmvfst_events.so.0 /usr/local/lib/libmvfst_looper.so.0 /usr/local/lib/libmvfst_observer.so.0 /usr/local/lib/libmvfst_state_datagram_handler.so.0 /usr/local/lib/libmvfst_state_pacing_functions.so.0 /usr/local/lib/libmvfst_buf_accessor.so.0 /usr/local/lib/libmvfst_state_ack_handler.so.0 /usr/local/lib/libmvfst_loss.so.0 /usr/local/lib/libmvfst_state_simple_frame_functions.so.0 /usr/local/lib/libmvfst_state_functions.so.0 /usr/local/lib/libmvfst_codec_pktbuilder.so.0 /usr/local/lib/libmvfst_state_stream.so.0 /usr/local/lib/libmvfst_flowcontrol.so.0 /usr/local/lib/libmvfst_qlogger.so.0 /usr/local/lib/libmvfst_state_stream_functions.so.0 /usr/local/lib/libmvfst_fizz_handshake.so.0 /usr/local/lib/libmvfst_dsr_frontend.so.0 /usr/local/lib/libmvfst_dsr_types.so.0 /usr/local/lib/libmvfst_transport_knobs.so.0 /usr/local/lib/libmvfst_transport_settings_functions.so.0 /usr/local/lib/libmvfst_state_machine.so.0 /usr/local/lib/libmvfst_codec.so.0 /usr/local/lib/libmvfst_handshake.so.0 /usr/local/lib/libmvfst_codec_packet_number_cipher.so.0 /usr/local/lib/libmvfst_codec_decode.so.0 /usr/local/lib/libmvfst_codec_types.so.0 /usr/local/lib/libmvfst_bufutil.so.0 /usr/local/lib/libmvfst_constants.so.0 /usr/local/lib/libmvfst_exception.so.0 /usr/local/lib/libfizz.so.1.0.0 /usr/local/lib/libfolly.so.0.58.0-dev /usr/local/lib/libboost_context.so /usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_program_options.so /usr/local/lib/libboost_regex.so /usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so /usr/local/lib/libboost_chrono.so /usr/local/lib/libboost_atomic.so /usr/local/lib/libglog.so /usr/local/lib/libevent.so /usr/local/lib/libdouble-conversion.so /usr/local/lib/libfmt.so.10.2.1 -pthread /usr/lib/libz.so /usr/local/lib/libbzip2.so /usr/lib/liblzma.so /usr/local/lib/liblz4.so /usr/local/lib/libsnappy.so /usr/lib/libdwarf.so /usr/local/lib/libsodium.so /usr/local/lib/libunwind.so -lexecinfo /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/local/lib/libsodium.so /usr/lib/libz.so /usr/local/lib/libzstd.so /usr/local/lib/libgflags.so.2.2.2 -lpthread && :
FAILED: proxygen/httpserver/proxygen_push
: && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DGLOG_USE_GLOG_EXPORT -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DGLOG_USE_GLOG_EXPORT -DNDEBUG -lexecinfo -fstack-protector-strong proxygen/httpserver/CMakeFiles/proxygen_push.dir/samples/push/PushServer.cpp.o proxygen/httpserver/CMakeFiles/proxygen_push.dir/samples/push/PushRequestHandler.cpp.o -o proxygen/httpserver/proxygen_push -Wl,-rpath,/wrkdirs/usr/ports/www/proxygen/work/.build/proxygen/httpserver:/wrkdirs/usr/ports/www/proxygen/work/.build/proxygen/lib:/usr/local/lib: proxygen/httpserver/libproxygenhttpserver.so proxygen/lib/libproxygen.so /usr/local/lib/libwangle.so.1.0.0 /usr/lib/librt.so /usr/local/lib/libzstd.so /usr/local/lib/libboost_iostreams.so /usr/local/lib/libboost_regex.so -lz /usr/local/lib/libmvfst_fizz_client.so.0 /usr/local/lib/libmvfst_client.so.0 /usr/local/lib/libmvfst_server.so.0 /usr/local/lib/libmvfst_server_state.so.0 /usr/local/lib/libmvfst_transport.so.0 /usr/local/lib/libmvfst_batch_writer.so.0 /usr/local/lib/libmvfst_cc_algo.so.0 /usr/local/lib/libmvfst_codec_pktrebuilder.so.0 /usr/local/lib/libmvfst_happyeyeballs.so.0 /usr/local/lib/libmvfst_async_udp_socket.so.0 /usr/local/lib/libmvfst_events.so.0 /usr/local/lib/libmvfst_looper.so.0 /usr/local/lib/libmvfst_observer.so.0 /usr/local/lib/libmvfst_state_datagram_handler.so.0 /usr/local/lib/libmvfst_state_pacing_functions.so.0 /usr/local/lib/libmvfst_buf_accessor.so.0 /usr/local/lib/libmvfst_state_ack_handler.so.0 /usr/local/lib/libmvfst_loss.so.0 /usr/local/lib/libmvfst_state_simple_frame_functions.so.0 /usr/local/lib/libmvfst_state_functions.so.0 /usr/local/lib/libmvfst_codec_pktbuilder.so.0 /usr/local/lib/libmvfst_state_stream.so.0 /usr/local/lib/libmvfst_flowcontrol.so.0 /usr/local/lib/libmvfst_qlogger.so.0 /usr/local/lib/libmvfst_state_stream_functions.so.0 /usr/local/lib/libmvfst_fizz_handshake.so.0 /usr/local/lib/libmvfst_dsr_frontend.so.0 /usr/local/lib/libmvfst_dsr_types.so.0 /usr/local/lib/libmvfst_transport_knobs.so.0 /usr/local/lib/libmvfst_transport_settings_functions.so.0 /usr/local/lib/libmvfst_state_machine.so.0 /usr/local/lib/libmvfst_codec.so.0 /usr/local/lib/libmvfst_handshake.so.0 /usr/local/lib/libmvfst_codec_packet_number_cipher.so.0 /usr/local/lib/libmvfst_codec_decode.so.0 /usr/local/lib/libmvfst_codec_types.so.0 /usr/local/lib/libmvfst_bufutil.so.0 /usr/local/lib/libmvfst_constants.so.0 /usr/local/lib/libmvfst_exception.so.0 /usr/local/lib/libfizz.so.1.0.0 /usr/local/lib/libfolly.so.0.58.0-dev /usr/local/lib/libboost_context.so /usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_program_options.so /usr/local/lib/libboost_regex.so /usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so /usr/local/lib/libboost_chrono.so /usr/local/lib/libboost_atomic.so /usr/local/lib/libglog.so /usr/local/lib/libevent.so /usr/local/lib/libdouble-conversion.so /usr/local/lib/libfmt.so.10.2.1 -pthread /usr/lib/libz.so /usr/local/lib/libbzip2.so /usr/lib/liblzma.so /usr/local/lib/liblz4.so /usr/local/lib/libsnappy.so /usr/lib/libdwarf.so /usr/local/lib/libsodium.so /usr/local/lib/libunwind.so -lexecinfo /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/local/lib/libsodium.so /usr/lib/libz.so /usr/local/lib/libzstd.so /usr/local/lib/libgflags.so.2.2.2 -lpthread && :
ld: error: undefined reference due to --no-allow-shlib-undefined: typeinfo for snappy::Source
Version: 2024.06.24.00
snappy-1.2.1
clang-18
FreeBSD 14.1