UNVERIFIED SOLUTION i
X

Resolve Spectrum installer error message on Ubuntu 16.04 LTS

Issue

On Ubuntu 16.04 LTS operating system, users get the below error messages while instaling Spectrum v12.1:

root@ip-172-31-11-124:~# apt-get install libstdc++5:i386 zlib1g:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package zlib1g:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libstdc++5:i386
E: Couldn't find any package by regex 'libstdc++5'
E: Package 'zlib1g:i386' has no installation candidate
root@ip-172-31-11-124:~#root@ip-172-31-11-124:~#


 

Cause

This is not software related issue but operating system issue.
Spectrum installation guide requires installation of below 32-bit libraries as a pre-requisite even though OS is 64-bit
"Requires these runtime libraries installed as follows: apt-get install libstdc++5:i386 zlib1g:i386"

But in Ubuntu v16, the method of adding these 32-bit libraries seems to have changed and we now need to add the 32-bit architecture.
 

Resolution

UPDATED: October 25, 2017


To add the 32-bit architecture, the additional step which is required is:
sudo dpkg --add-architecture i386

Refer the below links for further information: 
command to install 32bit packages (lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6) on ubuntu 16.4 LTS
and 
Installing 32-bit libraries on Ubuntu 16.04 Xenial Xerus
 

Environment Details

Product Affected: Spectrum
Feature: Installation / Upgrade
Operating System: Ubuntu (Linux)

Downloads

  • No Downloads