Skip to content

Self-contained application not starting on ARM64 & Amazon Linux 2 #80404

@tyler-shuhnicki

Description

@tyler-shuhnicki

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When trying to deploy Dotnet 7 to an Amazon Linux 2 instance using ARM64, an error occurs:

Failed to load /var/task/libcoreclr.so, error: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /var/task/libcoreclr.so)

See open github issue on AWS's lambda forum for further details:
aws/aws-lambda-dotnet#1310


Our team is certainly looking forward to upgrading to dotnet7, especially considering the significant performance improvements. Our app is hosted in AWS utilizing ARM64 on AL2, and this error is one we have not been able to work around.

Expected Behavior

dotnet 7 should run as expected on ARM64 & AL2.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

dotnet 7

Anything else?

No response

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