Linux Library Packages

To run Kognitio on Hadoop you’ll need to install some required library packages on:

  • the edge node.
  • all nodes that can run YARN containers.

Note

Make sure that any packages you already have installed on your nodes are up to date.

RHEL 7 and CentOS 7

  • glibc.i686
  • zlib.i686
  • openssl-libs.i686 - This must exactly match the x86_64 version installed
  • ncurses-libs.i686
  • perl

To install these packages:

yum install glibc.i686 zlib.i686 ncurses-libs.i686 perl
yum install `rpm -q openssl-libs.x86_64 | sed 's/x86_64/i686'`

Note the second command ensures the openssl-libs versions match.

RHEL 6, CentOS 6 and Amazon Linux

  • glibc.i686
  • zlib.i686
  • openssl.i686
  • ncurses-libs.i686
  • perl

To install these packages:

yum install glibc.i686 zlib.i686 openssl.i686 ncurses-libs.i686 perl

If you obtain an error of the form Error:  Multilib version problems found. this is likely due to dependency clashes for packages already installed. Use yum to update packages already installed before retrying the install above.

SLES 11/12

  • glibc-32bit
  • libz1-32bit
  • libopenssl1_0_0-32bit
  • ncurses-devel-32bit
  • libncurses6-32bit

To install these packages:

zypper install -n glibc-32bit libz1-32bit libopenssl1_0_0-32bit ncurses-devel-32bit libncurses6-32bit

Debian and Ubuntu 14/16

  • gcc-6-base:i386
  • libc6:i386
  • libgcc1:i386
  • zlib1g:i386
  • libssl1.0.0:i386
  • libncurses5:i386

To install these packages:

apt-get -q install gcc-6-base:i386 libc6:i386 libgcc1:i386 zlib1g:i386 libssl1.0.0:i386 libncurses5:i386

If this errors enable your i386 architecture using:

dpkg --add-architecture i386
apt-get update

Once you have installed these packages you will need to create symbolic links for the openssl libraries:

for d in /lib/i386-linux-gnu /lib/x86_64-linux-gnu ; do
ln -s ${d}/libssl.so.1.0.0 ${d}/libssl.so.10
ln -s ${d}/libcrypto.so.1.0.0 ${d}/libcrypto.so.10
done

Which OS do I have?

To identify your operating system:

cat /etc/*-release

The output looks like this:

NAME="SLES"
VERSION="12-SP3"
VERSION_ID="12.3"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp3"
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 3