Open
Description
What is the issue?
After updating to Ollama 0.5.13, running it on CentOS Linux release 7.9.2009 (Core) results in the following errors:
ollama: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.25' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ollama)
ollama: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ollama)
This indicates that the current system's glibc and libstdc++ versions are too low to meet Ollama's dependencies. Could you please provide guidance on how to resolve this issue or consider adding support for older Linux distributions like CentOS 7?
Relevant log output
OS
CentOS Linux release 7.9.2009 (Core)
GPU
No response
CPU
No response
Ollama version
0.5.13
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
lfandrh commentedlast weekon Mar 5, 2025
I encountered the same problem. It seems that the glibc version does not meet the requirements(need 2.27), but the upgrade is complicated and will cause system instability.
leslie2046 commentedlast weekon Mar 5, 2025
+1
jmorganca commentedlast weekon Mar 5, 2025
Hi folks, so sorry about the error . 0.5.13 requires a newer version of Linux/glibc (starting with centos/rhel 8) – we'll see if we can revisit this to lower the requirements
jmorganca commentedlast weekon Mar 5, 2025
In the meantime the previous version can be downloaded with
curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.5.12 sh
DirtyKnightForVi commentedlast weekon Mar 6, 2025
same errors. but i have to back to 0.5.10. maybe not the reasons that caused by version of Linux/glibc.
Yaunghow commented5 days agoon Mar 7, 2025
I have met the same problem.
duffybelfield commented5 days agoon Mar 7, 2025
+1
Yaunghow commented5 days agoon Mar 7, 2025
Hey, I found an alternative way to solve this problem by directly pulling a docker image of Ollama, without needing to change any system environment configurations. You can find more detail at: https://ollama.com/blog/ollama-is-now-available-as-an-official-docker-image. Hope this helps!
duffybelfield commented5 days agoon Mar 7, 2025
It's the same issue on the
latest
tag, I'm using 0.5.12 container.brushknight commented2 days agoon Mar 10, 2025
I have a similar issue with latest ollama docker image
Here is the error line
Here is the host Glibc
Running Ubuntu 22.04 with Orin AGX
Do you have any recommendations how to resolve this issue without changing host environment? Should we build this container from sources on that machine or some other work arounds? Thank you in advance!
Updated:
The last image that works fine is 0.5.7 for arm64