Skip to content

GLIBC_2.27 not found #78

@samhh

Description

@samhh

Have I misinterpreted the instructions regarding viability of local invocation or is this a bug?:

$ sam local invoke
<home>/.local/lib/python3.9/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.3) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Invoking NOT_USED (provided)
Skip pulling image and use local one: amazon/aws-sam-cli-emulation-image-provided:rapid-1.17.0.

Mounting <project>/.stack-work/docker/_home/.local/bin as /var/task:ro,delegated inside runtime container
START RequestId: 5495b4de-5771-4cf8-b15c-47aa02989eb9 Version: $LATEST
/var/task/bootstrap: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /var/task/bootstrap)
time="2021-02-07T17:22:47.318" level=error msg="Init failed" InvokeID= error="Runtime exited with error: exit status 1"
time="2021-02-07T17:22:47.318" level=error msg="INIT DONE failed: Runtime.ExitError"

This is on Arch with everything up to date. The build appears to succeed and stack run gives no such error (just missing AWS environment as you'd expect).

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