X
25873

IDL fails to install on Linux: What to do

Topic:

IDL may fail to install or run on some Linux distributions. It may be necessary to install certain libraries that IDL is dependent upon that may not be present on your system. Certain error messages may present themselves during or after installation. See error messages below.

Starting with IDL 8.3, it is now only available as a 64-bit application. Previous versions of IDL are available as both as a pure 64 bit application and a pure 32 bit application. This article assumes that you are running the version of IDL that matches your architecture, for example 64 bit IDL on a 64bit Linux system. In addition, this article is written to get IDL 8 working on modern Linux distributions. If you are trying to use an older version of IDL or an older Linux distribution, the information below might not be helpful.

NOTE: If you wish to run 32bit IDL on a 64bit Linux system, additional libraries may be required.

Discussion: 

This document is designed to provide the necessary steps to install and run IDL on various Linux systems. Below is a list of common Linux operating systems on which we have tested IDL. If your OS is not listed, you may still be able to install IDL, but you may have to perform slightly different steps to get IDL running on your system.

It is possible that if you have a custom Linux installation or if you have modified your system, you may need to install additional libraries. The steps below should work for most Linux users. These steps may not be suitable on all systems. If you are uncomfortable modifying your system, please contact your system administrator for help.

After performing the steps below, follow the installation instructions provided with your DVD or on our Product Download website to install IDL.

You may need to use root or sudo permissions to perform the steps below.

1. Common Errors

 
An error similar to the following may occur when attempting to execute install_unix.sh from the installation DVD.

./install_unix.sh: /media/IDL81/unix/install.sh: /bin/sh: bad interpreter: Permission denied

·     If the above error is encountered please refer to Section 3. DVD Mounting. On launch of IDL:

/usr/local/exelis/idl83/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

·        
If the above error is encountered please refer to Section 2. Linux Flavors

2. Linux Flavors

CentOS

To run IDL on CentOS, you may need to first perform the following step to install the necessary library :

yum install libXp

After performing this step, IDL should run on your system.

Fedora

To run IDL on Fedora, you may need to first perform the following step to install the necessary libraries:

yum install libXp

After performing this step, IDL should run on your system.

Ubuntu

To run IDL on Ubuntu, you may need to first perform the following steps to install the necessary libraries:

sudo apt-get install libxp6
sudo apt-get install libxp-dev
sudo apt-get install libxmu-dev
sudo apt-get install libxmu6
sudo apt-get install xlibxpm-d

 

On some recent Ubuntu versions (such as version 15.10) the libXP package needs to be downloaded from the web first. The best place to look for these downloads is the Debian website and  here is a link to download libxp6 from there https://packages.debian.org/stable/libs/libxp6.

You may experience a segmentation fault when running the LicenseWizard application or when issuing a graphics command in IDL. The necessary steps to mitigate this problem on Ubuntu can be found in  Help Article # 4576.

OpenSUSE

No additional libraries should need to be installed.

RedHat

If you are using a RedHat system and you encounter the following error: This indicates that you are trying to use IDL on an OS in which the kernel or glibc is older than the version with which IDL was built. For example, this issue might occur if you are trying to use IDL 8.3 on a RedHat 5 system ( IDL 8.3 was built with RedHat 6). If you encounter this error, you may need to upgrade the operating system to get IDL to run properly.

In addition, you may also need to install libXp to run IDL on RedHat system.. Follow the same steps in the CentOS section to perform this task.

idl: error while loading shared libraries:
libidl.so.8.3: ELF file OS ABI invalid 

3. DVD Mounting

On some systems the DVD may not mount with the proper permissions. If you encounter a permissions error while attempting to install from the DVD, log in as root and issue the following commands (note: these steps work on Red Hat based systems. For other systems, mount points and devices may vary):

umount /dev/hdc
sudo mount -o ro -t udf /dev/hdc /media

Proceed with the installation as normal.

4. Related Articles:

4576 : IDL Segmentation fault or fatal error whenincompatible version of libstdc++.so.6 is used
4600 : Software Rendering and Xinerama configuration in Linux
4663 : IDL 8.1 : cannot enable executable stack as sharedobject requires: Permission denied

5. Further Steps:

If the steps listed above do not work on your system, please contact Technical Support (support@exelisvis.com).

Written by DS and and reviewed by FS (12/27/13)