Error: GLIBCXX 3.4.21 not found required by ucxjlx6 - Automic Linux Agent
search cancel

Error: GLIBCXX 3.4.21 not found required by ucxjlx6 - Automic Linux Agent

book

Article ID: 261787

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation Automic SaaS

Issue/Introduction

When attempting to start the Automic Linux Agent (ucxjlx6) on Red Hat Enterprise Linux (RHEL) 7.9, the process fails with the following errors:

  • ./ucxjlx6: /lib64/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./ucxjlx6)
  • ./ucxjlx6: /lib64/libstdc++.so.6: version 'CXXABI_1.3.9' not found (required by ./ucxjlx6)
  • ./ucxjlx6: /lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by ./ucxjlx6)

 

Environment

  • Automic Workload Automation
  • Linux Agent (v21 or higher)
  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 8

Cause

The system's runtime library libstdc++.so.6 in /usr/lib64 is older than the version used to compile the Automic agent. RHEL 7.x distributions typically do not include the GLIBCXX_3.4.21 or CXXABI_1.3.9 versions required by newer agents.

Resolution

To resolve this issue, provide the required libraries from the Automic installation media and update the library path.

  1. Locate the installation media for the agent.
  2. Navigate to the External.Resources/unix_libraries/ directory.
  3. Extract the required libraries from the archive:
    bash
    tar -zxvf unix_libraries.tar.gz
  4. Copy the extracted libraries (e.g., libstdc++.so.6) into the agent's bin directory.
  5. Update the LD_LIBRARY_PATH to include the agent's bin directory:
    bash
    export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
  6. Start the agent.

 

For problems with jobs returning this error:

  • For a permanent configuration, consider creating a HEADER.UNIX.USER.HEAD include in Client 0 as detailed in the  documentation.
  • Make sure to have proper privileges assigned to the agent installation files as per the documentation mentioned here: Installing the Agent for other UNIX Platforms.