Forum

General discussion on using the Kognitio Analytical Platform.
Contributor
Offline
User avatar
Posts: 386
Joined: Thu May 23, 2013 4:48 pm

32-bit libraries required for Kognitio

by markc » Fri Jan 03, 2014 12:11 pm

From version 8, Kognitio requires a 64-bit Linux distribution to run - support for 32-bit distributions has ended. Version 8.2.1 and above do not require any external 32 bit libraries at all.

Kognitio also have some dependencies on 32-bit libraries and other software which may not be in place with a Minimal installation of the distribution. Those dependencies are as follows:

(andym -- updated dependency list Sept 2018)


RedHat 6, Centos 6 and Amazon Linux 1:

(for Kognitio 8.2.0 and below)
yum install glibc.i686 libgcc.i686 zlib.i686 openssl.i686 ncurses-libs.i686 perl

(for Kognitio 8.2.1 and above)
yum install perl

(if you get an error about 32 bit packages not matching the 64 bit ones you may need to install specific versions of the 32 bit libraries. You can do that like this:

yum install `rpm -q openssl-libs.x86_64 | sed 's/x86_64/i686/'`
)

Amazon Linux 2:

(for Kognitio 8.2.0 and below)
yum install glibc.i686 libgcc.i686 zlib.i686 openssl.i686 ncurses-libs.i686 libcrypt.i686 libgcc.i686


RedHat 7 and CentOS 7:

(for Kognitio 8.2.0 and below)
yum install glibc.i686 zlib.i686 ncurses-libs.i686 perl
yum install `rpm -q openssl-libs.x86_64 | sed 's/x86_64/i686/'`
(RedHat/CentOS 7 use the openssl-libs package instead of openssl. The i686 version of this needs to exactly match the x86_64 version, which is what the above command does).

(for Kognitio 8.2.1 and above)
yum install perl


Sles 11/12:

(for Kognitio 8.2.0 and below)
zypper install glibc-32bit libz1-32bit libopenssl1_0_0-32bit ncurses-devel-32bit libncurses6-32bit

(For SLES12 you currently need to restart your nodes after doing a stage 1 standalone install before doing a stage 2 install. Kognitio on Hadoop users need not do this)

Debian and Ubuntu 14/16:
(Kognitio 8.2.0 and below)
apt-get install gcc-6-base:i386 libc6:i386 libgcc1:i386 zlib1g:i386 libssl1.0.0:i386 libncurses5:i386

( For Debian/Ubuntu you might also need to enable the architecture first like this:
dpkg --add-architecture i386
apt-get update
)

(Also for Debian/Ubuntu you will need to create symbolic links for the openssl libraries like this:

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

(for kognitio 8.2.1 and above remove /lib/i386-linux-gnu from the above)
)
Reply with quote Top
Contributor
Offline
Posts: 38
Joined: Mon Jan 06, 2014 10:36 am

Re: 32-bit libraries required for Kognitio

by skkirkham » Fri May 12, 2017 6:05 pm

For RHEL 7.3 the yum installs are slightly different

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

Don't forget on AWS instances all this has to be prefixed with sudo command.

Sharon
Reply with quote Top
Contributor
Offline
User avatar
Posts: 19
Joined: Wed Jun 05, 2013 1:19 pm

Re: 32-bit libraries required for Kognitio

by andym » Mon Oct 16, 2017 4:36 pm

Updated the top post with a more recent dependency list. Previous dependency list from before Oct 2017 was:

(This is the old list!)

glibc
libgcc
libz
libcrypto/libssl
ncurses (for wxtop only)
perl (64-bit)

To install the requires dependencies, find your distribution below and follow the steps:

RHEL 6.5 / CentOS 6.5
yum install glibc.i686
yum install libgcc.i686
yum install zlib.i686
yum install openssl.i686
yum install ncurses-devel.i686
yum install perl

Amazon 2013.09
yum install glibc.i686
yum install libgcc47.i686
yum install zlib.i686
yum install openssl.i686
yum install ncurses-devel.i686
yum install perl

SLES 11.2
zypper install glibc-32bit
zypper install libgcc-32bit
zypper install zlib-32bit
zypper install libopenssl0_9_8-32bit
zypper install ncurses-devel-32bit
zypper install perl

In addition, for those Linux distributions that install OpenSSL v1.x in preference to OpenSSL v0.9.8 (currently RHEL, CentOS and Amazon), it is necessary to create the following soft links, depending on the location of libcrypto.so.10 and libssl.so.10:

ln –s /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so
ln –s /usr/lib/libssl.so.10 /usr/lib/libssl.so

or

ln –s /lib/libcrypto.so.10 /usr/lib/libcrypto.so
ln –s /lib/libssl.so.10 /usr/lib/libssl.so
Reply with quote Top

Who is online

Users browsing this forum: No registered users and 0 guests

cron