[GH-ISSUE #8323] Manual linux install: runners/cuda_v11_avx/ollama_llama_server: undefined symbol: ggml_backend_cuda_reg #31091

Closed
opened 2026-04-22 11:15:15 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @penningt on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8323

What is the issue?

Tried to update with the manual Linux install (and making sure I deleted lib/ollama first) and got this error:
runners/cuda_v11_avx/ollama_llama_server: undefined symbol: ggml_backend_cuda_reg

Looks like it may have been fixed for the cuda_v12 runner in #8166

Maybe just an oversight in the build for the cuda 11 runner?

0.5.1 (before the lib restructure) seems to work fine.

Thanks

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.5.4

Originally created by @penningt on GitHub (Jan 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8323 ### What is the issue? Tried to update with the manual Linux install (and making sure I deleted lib/ollama first) and got this error: runners/cuda_v11_avx/ollama_llama_server: undefined symbol: ggml_backend_cuda_reg Looks like it may have been fixed for the cuda_v12 runner in #8166 Maybe just an oversight in the build for the cuda 11 runner? 0.5.1 (before the lib restructure) seems to work fine. Thanks ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.4
GiteaMirror added the bug label 2026-04-22 11:15:15 -05:00
Author
Owner

@DmitrySandalov commented on GitHub (Jan 8, 2025):

Try the following

If you are upgrading from a prior version, you should remove the old libraries with sudo rm -rf /usr/lib/ollama first.

https://github.com/ollama/ollama/blob/main/docs/linux.md

<!-- gh-comment-id:2577536458 --> @DmitrySandalov commented on GitHub (Jan 8, 2025): Try the following > If you are upgrading from a prior version, you should remove the old libraries with `sudo rm -rf /usr/lib/ollama` first. https://github.com/ollama/ollama/blob/main/docs/linux.md
Author
Owner

@penningt commented on GitHub (Jan 8, 2025):

Hi Dmitry,

Thanks for your response. As I mentioned above, I had already removed the old libraries and I am getting that error.

Thanks
-Chris

<!-- gh-comment-id:2577812528 --> @penningt commented on GitHub (Jan 8, 2025): Hi Dmitry, Thanks for your response. As I mentioned above, I had already removed the old libraries and I am getting that error. Thanks -Chris
Author
Owner

@rick-github commented on GitHub (Feb 10, 2025):

Is this still an issue?

<!-- gh-comment-id:2647995653 --> @rick-github commented on GitHub (Feb 10, 2025): Is this still an issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31091