Skip to content

GLIBC_2.28 not found #874

Closed
Closed
@rgreinho

Description

@rgreinho

Since I upgraded to Rust 1.78, I am facing the following issue while deploying lambda functions:

/var/task/bootstrap: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /var/task/bootstrap) 

I checked older issues and found somehow similar ones, but it looks like I am building and deploying my functions correctly though:

My runtime is Amazon Linux 2:

image

The functions are built with cargo lambda build --release

My rust version is:

$ rustc --version
rustc 1.78.0 (9b00956e5 2024-04-29)

And I am using lambda_runtime = "0.11.1".

Could it be that Rust 1.78 cannot yet run on Amazon Linux 2 runtimes?

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