Skip to content

lib missing - /lib64/libc.so.6: version `GLIBC_2.18 - cfn submit zip missing library #180

@JohnPreston

Description

@JohnPreston

Submitted a new resource version using the latest versions of the CLI and LIB and when running in CFN I am getting
the following error.

Lambda function handler threw an uncaught exception: Unable to import module 'mongodb_atlas_awsiamdatabaseuser.handlers': /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/task/cryptography/hazmat/bindings/_rust.abi3.so)

.cfn_metata.json content (as uploaded by cfn submit)

{"plugin-tool-version": "2.1.5", "plugin-name": "python", "cli-version": "0.2.24"}

.rpdk-config content (as uploaded by cfn submit)

{
    "artifact_type": "RESOURCE",
    "typeName": "MongoDb::Atlas::AwsIamDatabaseUser",
    "language": "python37",
    "runtime": "python3.7",
    "entrypoint": "mongodb_atlas_awsiamdatabaseuser.handlers.resource",
    "testEntrypoint": "mongodb_atlas_awsiamdatabaseuser.handlers.test_entrypoint",
    "settings": {
        "version": false,
        "subparser_name": null,
        "verbose": 0,
        "force": false,
        "type_name": null,
        "artifact_type": null,
        "use_docker": false,
        "protocolVersion": "2.0.0"
    }
}

Only workaround found is to build the ResourceProvider.zip myself.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions