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 <vt@altlinux.org>
This commit is contained in:
parent
a202c98ff8
commit
6ccc09a99d
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue