OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ~/python3.10/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.so)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 991
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
When I use the LLM library after the installation, it shows the below errors:
OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ~/python3.10/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.so).
Please see the details:
13:48 ~/workshops/flask $ llm
Traceback (most recent call last):
File "/home/beanworkshop/.local/bin/llm", line 5, in
from llm.cli import cli
File "/home/beanworkshop/.local/lib/python3.10/site-packages/llm/init.py", line 18, in
from .plugins import pm
File "/home/beanworkshop/.local/lib/python3.10/site-packages/llm/plugins.py", line 17, in
pm.load_setuptools_entrypoints("llm")
File "/home/beanworkshop/.local/lib/python3.10/site-packages/pluggy/_manager.py", line 421, in load_setuptools_entrypoints
plugin = ep.load()
File "/usr/local/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/beanworkshop/.local/lib/python3.10/site-packages/llm_gpt4all.py", line 1, in
from gpt4all import GPT4All as _GPT4All
File "/home/beanworkshop/.local/lib/python3.10/site-packages/gpt4all/init.py", line 1, in
from .gpt4all import CancellationError as CancellationError, Embed4All as Embed4All, GPT4All as GPT4All
File "/home/beanworkshop/.local/lib/python3.10/site-packages/gpt4all/gpt4all.py", line 23, in
from ._pyllmodel import (CancellationError as CancellationError, EmbCancelCallbackType, EmbedResult as EmbedResult,
File "/home/beanworkshop/.local/lib/python3.10/site-packages/gpt4all/_pyllmodel.py", line 91, in
llmodel = load_llmodel_library()
File "/home/beanworkshop/.local/lib/python3.10/site-packages/gpt4all/_pyllmodel.py", line 81, in load_llmodel_library
lib = ctypes.CDLL(str(MODEL_LIB_PATH / f"libllmodel.{ext}"))
File "/usr/local/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/beanworkshop/.local/lib/python3.10/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.so)
1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import failure from the llm command and inspect llm_gpt4all.py, gpt4all/_pyllmodel.py, and the bundled libllmodel.so referenced in the traceback. Compare the build's GLIBC requirement with the supported Linux environment and determine the packaging or compatibility change needed. Done means the GPT4All plugin installs and imports successfully on the affected system.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100