Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Known issues for Amazon EC2 instances running Amazon Linux 2 with AWS CloudHSM

Focus mode
Known issues for Amazon EC2 instances running Amazon Linux 2 with AWS CloudHSM - AWS CloudHSM

The following issues impact AWS CloudHSM and Amazon EC2 instances that are running on Amazon Linux 2.

Issue: Amazon Linux 2 version 2018.07 uses an updated ncurses package (version 6) that is currently incompatible with the AWS CloudHSM SDKs

You see the following error returned upon running the AWS CloudHSM cloudhsm_mgmt_util or key_mgmt_util:

/opt/cloudhsm/bin/cloudhsm_mgmt_util: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
  • Impact: Instances running on Amazon Linux 2 version 2018.07 will be unable to use all AWS CloudHSM utilities.

  • Workaround: Issue the following command on your Amazon Linux 2 EC2 instances to install the supported ncurses package (version 5):

    sudo yum update && yum install ncurses-compat-libs
  • Resolution status: This issue has been resolved in the AWS CloudHSM client 1.1.2 release. You must upgrade to this client to benefit from the fix.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.