Got this error using V1 CLI linux binary (cc <@U07...
# feedback
c
Got this error using V1 CLI linux binary (cc @quick-window-91705) is this normal šŸ‘€
Copy code
xingyaow in 🌐 xingyao-dev in agent-sdk on ī‚  xw/py-docker-build [$!?] via šŸ v3.12.8 (agent-sdk) on ā˜ļø  xingyao@all-hands.dev 
āÆ chmod +x ./openhands-linux

xingyaow in 🌐 xingyao-dev in agent-sdk on ī‚  xw/py-docker-build [$!?] via šŸ v3.12.8 (agent-sdk) on ā˜ļø  xingyao@all-hands.dev 
āÆ ./openhands-linux
[PYI-4084584:ERROR] Failed to load Python shared library '/tmp/_MEIk9hBhm/libpython3.12.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /tmp/_MEIk9hBhm/libpython3.12.so.1.0)
q
Hmm that is not normal I don't have a linux machine so was only able to verify it worked on macos 🄲
Could you open an issue for this?
c
@nutritious-balloon-65098 please create an issue on All-Hands-AI/OpenHands repo for this
q
I might get a VM to fix these bugs
c
nod i'm using a GCP VM
n
I'm on it! Xingyao Wang can track my progress here.
Summary I've successfully created a GitHub issue for the GLIBC_2.38 error when running the Linux CLI binary. Issue Created: #11323 - Linux CLI binary fails with GLIBC_2.38 not found error Issue Details: Problem: The V1 CLI Linux binary (
openhands-linux
) fails to start with the error:
Copy code
[PYI-4084584:ERROR] Failed to load Python shared library '/tmp/_MEIk9hBhm/libpython3.12.so.1.0': 
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found
Root Cause: The binary is built on
ubuntu-latest
with Python 3.12 compiled against GLIBC 2.38, making it incompatible with older Linux distributions that have GLIBC < 2.38. Proposed Solutions Included in Issue: 1. Build on an older Ubuntu version (e.g., Ubuntu 20.04) for wider compatibility 2. Use a static Python build or manylinux container 3. Build multiple versions for different GLIBC versions 4. Document minimum GLIBC requirements in release notes The issue has been properly labeled with the
bug
label and follows the repository's bug report template. It includes reproduction steps, context, potential solutions, and references to the relevant build configuration files. No code changes were made - this was purely an issue creation task as requested. <sub>View full conversation</sub>
f
Do we have a solution for this? I think the pre-built binary depends on
GLIBC_2.38
, which is only available for Ubuntu 24.04. My VM with Ubuntu 22.04 also fails to run it
q
Probably just need to re-build the binary on a machine that doesn't depend on
GLIBC
Need to look into pyinstaller specs first though, probably something in there that configures this
@full-greece-2387 or @chilly-france-44439 do you mind testing the executable in this CI build? https://github.com/All-Hands-AI/OpenHands/actions/runs/18468860623?pr=11337
c
do we plan to have a curl command we can use to download this šŸ‘€
q
yepp
on my todolist
šŸ™Œ 1
f
How can we download the executable from the run? I only see a zip file there šŸ‘€
q
I think you should be able to unzip and see the executable!
f
Oh yeah I think it works on my VM now
q
awesome! mind reviewing this PR then https://github.com/All-Hands-AI/OpenHands/pull/11337 it pins the build process to an older version for the ubuntu runner that way it will work for older and more modern version anything >= 22.04
šŸ™Œ 1
f
Yeah the change makes sense to me, maybe we need to add a line to the doc mentioning about the OS requirement later as well
acknowledged 1