Skip to content

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

Open

Description

@kishaningithub

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:
        +: python@3.8
    - 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)

Activity

  1. jhheider commented on Oct 26, 2023

    @jhheider
    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

  2. transferred this issue frompkgxdev/pkgxon Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions