CURL_OPENSSL_3 not found for gitlab runner and Debian buster

Hi,
I just upgraded my server from Debian 9 (stretch) to 10 (buster).
Now if I’m trying to run my shell executor I get an error:
git-remote-https: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3’ not found (required by git-remote-https)

A different runner using docker executor is still working fine.
It seems Debian 10 is not including openssl3 anymore but I also can’t seem any back port.

Anyone an idea or the same issue?

Hi, if you upgraded your server, then you still have the gitlab-ce or gitlab-ee package that was for stretch, and not for buster.

Anyway, check if you have these files installed:

ii  libcurl3-gnutls:amd64                  7.64.0-4+deb10u2                      amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4:amd64                         7.64.0-4+deb10u2                      amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)

I’m guessing you don’t have libcurl3-gnutls or something. You can use:

dpkg -l | grep -i curl

to filter if you have the packages installed or not.

thanks for you quick reply.

I was able to fix the issue in the meantime…
In my case it was just a corrupted installation of git. So after upgrading all libs it still pointed to an old git version which was not supporting the current openssl version.

So this error was not related to the runner and just a personal issue :wink: