From 6ccc09a99dda4591f2aeb3ccbb2c236b844ecabf Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Fri, 21 Nov 2025 23:44:13 +0300 Subject: [PATCH] spec: Add Conflicts with libwhisper-cpp-devel whisper-cpp packages libggml.so of different version. $ apt-file libggml.so libllama-devel: /usr/lib64/libggml.so libllama: /usr/lib64/libggml.so.0.0.6869 libwhisper-cpp1: /usr/lib64/libggml.so.1 libwhisper-cpp1: /usr/lib64/libggml.so.1.7.6 libwhisper-cpp-devel: /usr/lib64/libggml.so It also bundles libggml with incorrect SOVERSION. The SOVERSION is set to whisper.cpp's version while (lib)ggml have their own versioning (currently 0.9.4). Correcting the version will not help much resolving the potential conflict, though. There seems to be two theoretically possible solutions: 1. Namespace llama.cpp's libggml.so into /usr/lib/llama/, similar to backends. 2. Consider libggml to be a convenience library and link it statically into libllama and llama- binaries. Signed-off-by: Vitaly Chikunov --- .gear/llama.cpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/.gear/llama.cpp.spec b/.gear/llama.cpp.spec index 15130c101..968be2c3c 100644 --- a/.gear/llama.cpp.spec +++ b/.gear/llama.cpp.spec @@ -97,6 +97,7 @@ Group: System/Libraries Summary: Development files for llama.cpp Group: Development/C Requires: libllama = %EVR +Conflicts: libwhisper-cpp-devel %description -n libllama-devel %summary.