WA Autosys: Installation script cannot install because library libbz2.so.1. is not found.

book

Article ID: 39081

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent

Issue/Introduction

When trying to install WAAE, the installer (wa_setup.sh) returns: 

Unable to locate required library libbz2.so.1. Possible path problem or missing RPM package. Exiting with return code <8>.

Cause

A package is missing and needs to be installed. 

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option

Resolution

Execute "yum provides" to get the package name for the missing library: 

yum provides /lib/libbz2.so.1

The command should show an output like this.

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
base/filelists                                                  | 3.3 MB     00:00
bzip2-libs-1.0.5-7.el6_0.i686 : Libraries for applications using bzip2
Repo        : base
Matched from:
Filename    : /lib/libbz2.so.1

Based on the output install the package that provides the missing library.

sudo yum install bzip2-libs -y

Note: Make sure the 32bit library and RPM are installed.

 

Additional Information

Note: The exact version may vary.  The yum command is Red Hat and RPM based Linux distro.  SUSE and Debian based distro use zypper and apt-get respectively.