tencent cloud

masukan

Terakhir diperbarui:2024-02-02 12:12:57

    What should I do if the error "PocoCrypto.so.64: undefined reference" is displayed when the executable program is compiled?

    PocoCrypto.so.64: undefined reference to `PEM_write_bio_PrivateKey@libcrypto.so.10'
    libPocoNetSSL.so.64: undefined reference to `X509_check_host@libcrypto.so.10'
    ibPocoCrypto.so.64: undefined reference to `ECDSA_sign@OPENSSL_1.0.1_EC'
    libPocoCrypto.so.64: undefined reference to `CRYPTO_set_id_callback@libcrypto.so.10'
    ibPocoCrypto.so.64: undefined reference to `EVP_PKEY_id@libcrypto.so.10'
    libPocoNetSSL.so.64: undefined reference to `SSL_get1_session@libssl.so.10'
    libPocoNetSSL.so.64: undefined reference to `SSL_get_shutdown@libssl.so.10'
    libPocoCrypto.so.64: undefined reference to `EVP_PKEY_set1_RSA@libcrypto.so.10'
    libPocoCrypto.so.64: undefined reference to `SSL_load_error_strings@libssl.so.10'
    This is usually caused by the inconsistency between the project's built-in SSL version on which the POCO library compilation depends and the SSL version on your device. You need to recompile the POCO library again and replace the POCO library in third_party.
    Note:
    We recommend you run the following command to download the source code from GitHub. If you choose to download from the POCO website, download the complete edition.
    wget https://github.com/pocoproject/poco/archive/refs/tags/poco-1.9.4-release.zip
    cd poco-poco-1.9.4-release/
    ./configure --omit=Data/ODBC,Data/MySQL
    mkdir my_build
    cd my_build
    cmake ..
    make -j5

    What should I do if I fail to compile the PocoNetSSL library during POCO library compilation?

    This is usually because the openssl-devel library is not installed. Install it using the following command:
    yum install -y openssl-devel

    What should I do if the error "undefined reference to qcloud_cos" is displayed when the executable program is compiled?

    undefined reference to `qcloud_cos::CosConfig::CosConfig(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    This is usually caused by the inconsistency between the project's built-in GCC version used by the libcossdk.a compilation and the GCC version on your device. You need to recompile the POCO library and libcossdk.a again.

    What should I do if the C++ SDK reports the error "Request has expired"?

    If the error is caused by the expiration of the signature, simply generate a new signature. If the error persists, check whether the local time of the server is set to the local standard time.
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24