X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



26509 Rate this article:
1.3

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)

3 comments on article "IDL fails to install on Linux: What to do"

Avatar image

David Delene

"On some recent Ubuntu versions (such as version 15.10) the libXP package needs to be downloaded from the web first."

Where on the Web do you get libXp for Ubuntu 15.10 for X86_64? I can only find 32 bit version that don't help. Can you not remove this requirement for IDL since libXp is not support by the major OS anymore?


Avatar image

Mario Navarro

Hello

I tried execute the commands on ubuntu 16.04 LTS but i can't solve the problem.

When i execute the commands in the terminal returns this message:

"Could not locate the package libxp6"

This message is for the first line and with the second line the message is:

"The libXp-dev package is not available, but some others package do references him."

what i can do?

where i can search the package?


Avatar image

David Starbuck

The libXp isssue with Ubuntu is fixed in IDL 8.6. If you are running into this problem, try upgrading and seeing if this helps with this issue.

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »