I cannot run kicad 8.0.9 - libgit? (linux)

I invoked kicad today, but got this:

bash-5.2$ kicad
kicad: error while loading shared libraries: libgit2.so.1.0: cannot open shared object file: No such file or directory

but I have libgit2 on my system:

/usr/lib64/libgit2.so
/usr/lib64/libgit2.so.1.0
/usr/lib64/libgit2.so.1.0.0

Maybe it happened due to the new openssl 3.4.1 introduced in my system instead of openssl11-1.1.1 ?

how to fix it ? Can the git be disabled in kicad 8.0.9 ?

It is my impression that git support wasn’t in the v8 series. Could you be running a different kicad? Have you installed a higher version (say a testing version) or compiled your own kicad? Check which executable file you are invoking.

It was behind an advanced config flag, I think.

If you have enabled it but don’t remember how, check out Where are the configuration files (settings, library tables)?.

I have never enabled/disabled git. I was just always compiling from source and running kicad’s earlier versions without problems.
I suspect that the problem is due to the openssl 3.4.1 introduced in my linux system instead of older openssl11-1.1.1.

Sometimes sudo ldconfig fixes library loading problems.

You need to dig deeper to find out why your Linux thinks there is no suitable libgit2 shared library. Try:

$ ldd $(which kicad)

and then look at the not found lines and go from there.