Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13428

[C++][Flight] -lssl is missing with bundled gRPC and system shared OpenSSL

    XMLWordPrintableJSON

Details

    Description

      This causes Apache Arrow GLib verification failure:
      https://github.com/apache/arrow/pull/10768
      https://github.com/ursacomputing/crossbow/runs/3125198200?check_suite_focus=true

       g-ir-scanner: link: x86_64-linux-gnu-gcc -pthread -o /tmp/arrow-5.0.0.PYIBz/apache-arrow-5.0.0/c_glib/build/tmp-introspectijhws295/ArrowFlight-1.0 /tmp/arrow-5.0.0.PYIBz/apache-arrow-5.0.0/c_glib/build/tmp-introspectijhws295/ArrowFlight-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L./arrow-flight-glib -L/tmp/arrow-5.0.0.PYIBz/apache-arrow-5.0.0/c_glib/build/arrow-glib -Wl,-rpath,/tmp/arrow-5.0.0.PYIBz/apache-arrow-5.0.0/c_glib/build/arrow-glib -L/tmp/arrow-5.0.0.PYIBz/install/lib -Wl,-rpath,/tmp/arrow-5.0.0.PYIBz/install/lib -L/tmp/arrow-5.0.0.PYIBz/install/lib -Wl,-rpath,/tmp/arrow-5.0.0.PYIBz/install/lib -larrow-flight-glib -larrow_flight -larrow -lgobject-2.0 -lglib-2.0 -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ENGINE_set_default'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ERR_error_string_n'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ENGINE_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_NAME_dup'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_EncryptInit_ex'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get_peer_cert_chain'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_next_protos_advertised_cb'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_read'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ENGINE_by_id'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `HMAC_CTX_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_new'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_DigestSignFinal'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `CRYPTO_get_ex_new_index'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `OPENSSL_init_crypto'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_sha256'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_new'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_MD_CTX_new'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_set_SSL_CTX'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_ctrl'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_use_PrivateKey'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_STORE_set_flags'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_PKEY_set1_RSA'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `HMAC_Init_ex'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_session_id_context'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_MD_CTX_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_new_bio_pair'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_options'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_NAME_ENTRY_get_data'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get_error'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `PEM_read_bio_PrivateKey'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_ctrl'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_STORE_add_cert'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ENGINE_init'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_cipher_list'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `OPENSSL_init_ssl'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_session_reused'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_EncryptUpdate'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_set_connect_state'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_set_bio'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SHA256_Update'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `PEM_read_bio_RSAPrivateKey'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_use_certificate'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_CIPHER_CTX_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_state_string_long'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_do_handshake'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `OPENSSL_sk_push'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `PEM_read_bio_X509_AUX'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `i2d_SSL_SESSION'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_aes_256_gcm'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ENGINE_load_private_key'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_ex_data'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_ctrl'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SHA256_Final'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `TLS_method'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `OPENSSL_sk_num'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_read'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ERR_print_errors'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_SESSION_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_DigestUpdate'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get_peer_certificate'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_get_ext_d2i'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ERR_clear_error'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `BIO_write'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_get_ex_data'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `ERR_get_error'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `d2i_SSL_SESSION'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `PEM_read_bio_X509'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get_SSL_CTX'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_client_CA_list'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `X509_NAME_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `CRYPTO_free'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_DecryptInit_ex'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `PEM_write_bio_X509'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_EncryptFinal_ex'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EC_KEY_new_by_curve_name'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get0_next_proto_negotiated'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_get_rbio'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `SSL_CTX_set_alpn_select_cb'
      /usr/bin/ld: /tmp/arrow-5.0.0.PYIBz/install/lib/libarrow_flight.so: undefined reference to `EVP_DigestSignInit'
      collect2: error: ld returned 1 exit status
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m