- Newest
- Most votes
- Most comments
Same issue here but am trying out new AWS IoT Device SDK V2
Getting below error when attempting to start device-example.js to test a new device connection option we need for custom dns iot endpoints
Error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /home/ec2-user/aws/node_modules/aws-crt/dist/bin/linux-x64/aws-crt-nodejs.node)
[ec2-user@ip-172-31-26-224 examples]$ yum info glibc
Loaded plugins: priorities, update-motd, upgrade-helper
Installed Packages
Name : glibc
Arch : x86_64
Version : 2.17
Release : 292.180.amzn1
Size : 14 M
Repo : installed
From repo : amzn-updates
Summary : The GNU libc libraries
URL : http://www.gnu.org/software/glibc/
License : LGPLv2_ and LGPLv2_ with exceptions and GPLv2+
Description : The glibc package contains standard libraries which are used by
: multiple programs on the system. In order to save disk space and
: memory, as well as to make upgrading easier, common system code is
: kept in one place and shared between programs. This particular package
: contains the most important sets of shared libraries: the standard C
: library and the standard math library. Without these two libraries, a
: Linux system will not function.
Available Packages
Name : glibc
Arch : i686
Version : 2.17
Release : 292.180.amzn1
Size : 6.3 M
Repo : amzn-updates/latest
Summary : The GNU libc libraries
URL : http://www.gnu.org/software/glibc/
License : LGPLv2_ and LGPLv2_ with exceptions and GPLv2+
Description : The glibc package contains standard libraries which are used by
: multiple programs on the system. In order to save disk space and
: memory, as well as to make upgrading easier, common system code is
: kept in one place and shared between programs. This particular package
: contains the most important sets of shared libraries: the standard C
: library and the standard math library. Without these two libraries, a
: Linux system will not function.
If you are running glibc 2.28 or below on RHEL 8, the OS does not include GLIBC_2.32, which is required by the precompiled aws_signing_helper binary.
To resolve this, compile the helper manually by following the steps below:
yum -y install git golang-go; git clone https://github.com/aws/rolesanywhere-credential-helper.git; cd /root/rolesanywhere-credential-helper/; make release; cd /root/rolesanywhere-credential-helper/build/bin; ./aws_signing_helper;
/usr/local/aws/build/bin/aws_signing_helper A tool that utilizes certificates and their associated private keys to sign requests to AWS IAM Roles Anywhere's CreateSession API and retrieve temporary AWS security credentials. This tool exposes multiple commands to make credential retrieval and rotation more convenient.
Usage: aws_signing_helper [command] [flags] aws_signing_helper [command]
Available Commands: completion Generate the autocompletion script for the specified shell credential-process Retrieve AWS credentials in the appropriate format for external credential processes help Help about any command read-certificate-data Diagnostic command to read certificate data serve Serve AWS credentials through a local endpoint sign-string Signs a fixed string using the passed-in private key (or reference to private key) update Updates a profile in the AWS credentials file with new AWS credentials version Prints the version number of the credential helper
Flags: -h, --help help for aws_signing_helper
Use "aws_signing_helper [command] --help" for more information about a command.
Resolved
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
