Note: this package ships the CPU version of llama.cpp release binaries, not the CUDA/ROCm/Vulkan etc.
Search Criteria
Package Details: llama.cpp-bin b8870-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/llama.cpp-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | llama.cpp-bin |
| Description: | LLM inference in C/C++ (precompiled Linux binaries) |
| Upstream URL: | https://github.com/ggerganov/llama.cpp |
| Keywords: | ai chat gpt llama llm |
| Licenses: | MIT |
| Conflicts: | ggml, libggml, llama.cpp |
| Provides: | ggml, libggml, llama.cpp |
| Submitter: | neitsab |
| Maintainer: | neitsab (envolution) |
| Last Packager: | neitsab |
| Votes: | 2 |
| Popularity: | 0.001560 |
| First Submitted: | 2024-11-15 12:24 (UTC) |
| Last Updated: | 2026-04-21 17:02 (UTC) |
Dependencies (2)
- curl (curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
Required by (5)
- llamaman-bin (requires llama.cpp) (optional)
- scmd-bin (requires llama.cpp)
- voxd (requires llama.cpp) (optional)
- voxd-bin (requires llama.cpp) (optional)
- voxd-git (requires llama.cpp) (optional)
Sources (2)
neitsab commented on 2026-04-23 13:02 (UTC)
neitsab commented on 2026-04-21 17:06 (UTC)
@tee Because upstream started shipping symlinks for some of the libraries provided, which were turned into regular files due to our use of the install command in the PKGBUILD and ldconfig (rightly) doesn't like that.
I've just pushed an update fixing the broken build besides this issue.
tee commented on 2025-12-17 12:45 (UTC)
why is this error showing?
(5/5) installing llama.cpp-bin [##################################################] 100%
ldconfig: /usr/lib/libggml.so.0 is not a symbolic link
ldconfig: /usr/lib/libggml-base.so.0 is not a symbolic link
ldconfig: /usr/lib/libmtmd.so.0 is not a symbolic link
ldconfig: /usr/lib/libllama.so.0 is not a symbolic link
:: Running post-transaction hooks...
envolution commented on 2025-10-02 22:47 (UTC)
@neitsab no problem, and thanks - comaintainer works fine for me
neitsab commented on 2025-10-02 22:38 (UTC)
@envolution Sorry I completely missed your comment! I just added you as a co-maintainer, feel free to take over the package:-) Thanks
envolution commented on 2025-08-16 03:55 (UTC)
@neitsab - I can take over maintenance and solve for the issue below
feel free to maintain ownership if you like, I would only need co-maintainer
carlo commented on 2025-07-29 15:00 (UTC) (edited on 2025-07-29 15:01 (UTC) by carlo)
Currently, with https://github.com/ggml-org/llama.cpp/releases/tag/b6022, this happens:
$ llama-cli -hf unsloth/Qwen3-0.6B-GGUF
[...]
llama_model_load_from_file_impl: no backends are loaded. hint: use ggml_backend_load() or ggml_backend_load_all() to load a backend before calling this function
[...]
main: error: unable to load model
From https://github.com/ggml-org/llama.cpp/issues/14302, I learnt that this is because the executable is looking for its shared libraries in (a) the directory of the executable, and (b) the current directory.
So, one way around this is to cd to /usr/lib before running llama-cli (or llama-server etc.). This works for me.
But probably a better way would be to update the PKGBUILD to put everything into the same directory (or maybe do something with symlinks to make it a bit less ugly, if possible).
neitsab commented on 2025-02-14 10:49 (UTC)
@chocolateboy You're right, and it's not limited to our package: https://github.com/ggerganov/llama.cpp/issues/11123
I just pushed an updated version which installs the shared libraries in the right place. Now I get
% llama-cli --version
version: 4714 (38e32eb6)
built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu
Thanks for noticing.
chocolateboy commented on 2025-02-14 10:07 (UTC)
@neitsab Thanks for the info.
FYI, this snapshot is missing some files:
$ llama-cli --version
/usr/bin/llama-cli: error while loading shared libraries: libllama.so: cannot open shared object file: No such file or directory
Pinned Comments
neitsab commented on 2026-04-23 13:02 (UTC)
Note: this package ships the CPU version of llama.cpp release binaries, not the CUDA/ROCm/Vulkan etc.
neitsab commented on 2025-02-05 16:44 (UTC) (edited on 2026-04-21 16:00 (UTC) by neitsab)
Please note:
This package being updated several times a day upstream, the best way to get the most recent version for yourself is to run the following commands
Please only flag it out of date in case the build is broken or missing features.
If you have suggestions to automate the upgrading and publishing or want to take over maintenance, I'm all ears :-)