Sentinel® LDK Script for Linux 32-bit Compatibility Packages: Readme


This document describes a script for the Linux operating system to resolve the problem of installing 32-bit compatibility packages for the LDK Run-time Environment.

Description of the Script

The Sentinel LDK Run-time Environment is compatible with 32-bit (x86) Linux operating systems. 32-bit compatibility packages are available that enable the Run-time Environment to operate under a 64-bit Linux operating system. However, each Linux distribution required a different 32-bit compatibility package. The provided script automates the process of handling the compatibility package.

The script performs the following steps automatically:

  1. Identifies the Linux distribution under which the script is executing.
  2. Determines which compatibility package is required.
  3. Obtains the required compatibility package from the online repository of the relevant Linux distribution.
  4. Installs the compatibility package.

Files Provided

install_32bit_compatibility_package_for _x64.sh - The shell script that performs the functions described above.

Supported Linux Distributions

Refer to the readme file for the relevant Linux Run-time Environment installer.

Prerequisites for Running the Shell Script

How to Use the Shell Script

To execute the shell script under a Linux 64-bit operating system:

  1. Grant execute permission to the shell script.
  2. Open a terminal
  3. Run the script: ./install_32bit_compatibility_package_for_x64.sh

Error Messages

This section describes possible error returned by the script in case there is limited or no internet connectivity.

Linux Distribution
Error Messages
Cent OS Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* extras: mirror.dhakacom.com
* updates: mirror.dhakacom.com
http://mirror.dhakacom.com/centos/6.4/updates/x86_64/repodata/2530c520eeeb790afd2d3ebcfd7534d0003751fc030ab2f8264f290e2632bb30-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.dhakacom.com'"
Trying other mirror.
Error: failure: repodata/2530c520eeeb790afd2d3ebcfd7534d0003751fc030ab2f8264f290e2632bb30-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
RedHat EL

Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
There was an error communicating with RHN.
RHN channel support will be disabled.
Error communicating with server. The message was:
Name or service not known
Setting up Install Process
No package glibc.i686 available.
Error: Nothing to do


If the system is not registered with RHN, the following error message may occur while installing the 32-bit compatibility package:

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.Unable to read consumer identity
Setting up Install Process
No package glibc.i686 available.
Error: Nothing to do

Open SuSE Media source 'http://download.opensuse.org/distribution/12.2/repo/oss/' does not contain the desired medium
Abort, retry, ignore? [a/r/i/?] (a): r
Retrieving: glibc-32bit-2.15-22.6.4.x86_64.rpm ................................................................................................[error]
Download (curl) error for 'http://download.opensuse.org/distribution/12.2/repo/oss/suse/x86_64/glibc-32bit-2.15-22.6.4.x86_64.rpm':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org; Unknown error
Ubuntu LTS Server Err http://in.archive.ubuntu.com/ubuntu/ lucid-updates/universe ia32-libs 2.7ubuntu26.1
Could not resolve 'in.archive.ubuntu.com'
Err http://security.ubuntu.com/ubuntu/ lucid-security/universe ia32-libs 2.7ubuntu26.1
Could not resolve 'security.ubuntu.com'
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu26.1_amd64.deb Could not resolve 'security.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Debian Err http://ftp.us.debian.org/debian/ stable/main ia32-libs amd64 20130215
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Failed to fetch http://ftp.us.debian.org/debian/pool/main/i/ia32-libs/ia32-libs_20130215_amd64.deb Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

© Gemalto 2018. All rights reserved. Gemalto, the Gemalto logo, are trademarks and service marks of Gemalto and are registered in certain countries.

DocID 194 Revision 1802-1