I keep getting this error when trying to push to my github repository

/usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/git-core/git-remote-https: undefined symbol: curl_global_sslset, version CURL_GNUTLS_3

Im running Kubuntu and im more on the novice side

  • canpolat@programming.devM
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 months ago

    Not sure but that sounds like you have a problem with your Git installation (or a dependency of Git). Maybe a reinstallation can solve that.

      • metiulekm@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        That command will produce a list of (dynamic) libraries that are being used by that helper. It will look somewhat like this (this is copied from my Arch instalation):

        	linux-vdso.so.1 (0x00007edb2f060000)
        	libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007edb2ee6f000)
        	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007edb2edd1000)
        	libz.so.1 => /usr/lib/libz.so.1 (0x00007edb2edb8000)
        	libc.so.6 => /usr/lib/libc.so.6 (0x00007edb2ebcc000)
        	libnghttp3.so.9 => /usr/lib/libnghttp3.so.9 (0x00007edb2eba9000)
        	libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007edb2eb7f000)
        	libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007edb2eb5b000)
        	libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007edb2eb12000)
        	libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007edb2eafe000)
        	libssl.so.3 => /usr/lib/libssl.so.3 (0x00007edb2ea24000)
        	libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007edb2e400000)
        	libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007edb2e9d0000)
        	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007edb2e8ef000)
        	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007edb2e8e0000)
        	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007edb2f062000)
        	libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007edb2e250000)
        	libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007edb2e178000)
        	libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007edb2e14a000)
        	libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007edb2e8d8000)
        	libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007edb2e13c000)
        	libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007edb2e8d1000)
        	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007edb2e12a000)
        	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007edb2e107000)
        

        It might be a good idea actually to try running this both when it works and when it doesn’t, maybe there is some difference?

  • Jakub Narębski@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    undefined symbol: curl_global_sslset, version CURL_GNUTLS_3

    This function was added in libcurl 7.56.0.

    Maybe your curl is too old?