Error GLIBC_2.38 brew installation ubuntu 22
Describe the bug I've tried to upgrade from v1.18 to v1.21 via brew and I get this error:
[PYI-595350:ERROR] Failed to load Python shared library /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/_internal/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/_internal/libpython3.11.so.1.0)
Also I tried to uninstall and do a brew cleanup and reinstall but the error is still there. To Reproduce Steps to reproduce the behavior:
- Install krr 1.21 in ubuntu 22.04 via homebrew.
Expected behavior krr 1.21 installed via krr Screenshots
brew install krr
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Fetching robusta-dev/krr/krr
==> Downloading https://github.com/robusta-dev/krr/releases/download/v1.21.0/krr-ubuntu-latest-v1.21.0.zip
Already downloaded: /home/jtirado/.cache/Homebrew/downloads/b715010643aa9246d25c3727a986a195a16afa99bc5f35d6c9a961fa52e3cdc3--krr-ubuntu-latest-v1.21.0.zip
==> Installing krr from robusta-dev/krr
==> Running 'krr version' to warm up binary and extract compressed python libraries... this can take up to 60 seconds
==> /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/krr version
Last 15 lines from /home/jtirado/.cache/Homebrew/Logs/krr/01.krr:
2025-02-04 15:04:55 +0000
/home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/krr
version
[PYI-595350:ERROR] Failed to load Python shared library '/home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/_internal/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/_internal/libpython3.11.so.1.0)
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/robusta-dev/homebrew-krr/issues
These open issues may also help:
Cannot upgrade krr to version 1.10.0 https://github.com/robusta-dev/homebrew-krr/issues/4
Are you interested in contributing a fix for this? No. Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS
fyi, 1.18.0 works with ubuntu 22
My VM is running Ubuntu 22.04. I downloaded "krr-ubuntu-latest-v1.19.0.zip", unzipped the file, and executed "./krr simple-limit".
I got the following error message: [PYI-62644:ERROR] Failed to load Python shared library '/home/hank/krr1.19/krr/_internal/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/hank/krr1.19/krr/_internal/libpython3.11.so.1.0)
I encountered the same error when using v1.25.1 and v1.26.0. However, v1.18.0 works successfully on the same environment.