Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python setup fails in amazon linux 2 self hosted github runner #3840

Open
kishaningithub opened this issue Oct 26, 2023 · 1 comment
Open

Comments

@kishaningithub
Copy link
Contributor

Context

I am using self hosted github runners which use amazon linux 2 as their operating system

Github action yaml

steps:
    - uses: actions/checkout@v3
    - uses: pkgxdev/setup@v1
      with:
        +: [email protected]
    - name: python version
      run: |
        python --version
        python3 --version

Error

The above action fails with the following error.

python: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/.pkgx/python.org/v3.8.18/bin/../lib/libpython3.8.so.1.0)

python: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.pkgx/python.org/v3.8.18/bin/../lib/libpython3.8.so.1.0)
@jhheider
Copy link
Contributor

Yes, aml2 uses a glibc one minor version older than Debian buster, which is what we build on. I've been trying to crack a glibc build so we can bypass this issue on older Linux glibcs, but it's tricky. Very tricky.

Ref: #147

@mxcl mxcl transferred this issue from pkgxdev/pkgx Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants