KataGo icon indicating copy to clipboard operation
KataGo copied to clipboard

Can't run katago 1.14 on Ubuntu 22.04 missing libzip.so.5

Open emogenet opened this issue 1 year ago • 4 comments

Downloaded katago-v1.14.0-eigenavx2-linux-x64+bs29.zip

Extracted in a folder

Tried to run it via:

./katago

Error message:

./katago: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory

Turns out libzip5 is a nightmare to install on ubuntu 22.04 because of a dependency if libzip5 on an antique version of libssl that can't easily be installed on 22.04 either.

Do we need to depend on OpenSSL just to be able to play go ... strikes me as overkill.

emogenet avatar Dec 31 '23 14:12 emogenet

Yes dependencies can be a bit messy. As described in the release notes, if you have this issue, try compiling KataGo yourself - clone the git repo and follow the instructions at https://github.com/lightvector/KataGo/blob/master/Compiling.md.

KataGo is easy to compile on ubuntu - every dependency you need is also installable via apt.

lightvector avatar Dec 31 '23 18:12 lightvector

From https://askubuntu.com/questions/1437133/does-ubuntu-22-04-support-the-libzip5-package:

You can install it from the https://packages.ubuntu.com/focal/amd64/libzip5/download.

wget http://mirrors.kernel.org/ubuntu/pool/universe/libz/libzip/libzip5_1.5.1-0ubuntu1_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb

akdtg avatar Jan 15 '24 07:01 akdtg