IDL and Linux shared libraries and bad interpreter error's
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.
IDL is available both as a pure 64bit application and as a pure 32bit application. This help article assumes that you are running the version of IDL that matches your architecture, for example 64bit IDL on a 64bit Linux system.
*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 that we have tested IDL on. If your OS is not listed, you may still be able to install IDL, but you may have to perform similar steps to get up and running on your system.
Our tests were on fresh Linux installations with no updates applied. 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.
Contents:
- Common Errors
- Linux Flavors
- DVD Mounting
- Related help articles
- Further Steps
1. Common Errors
- Attempting to execute install_unix.sh from the installation DVD.
./install_unix.sh: /media/IDL80/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/itt/idl/idl80/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 5.5 and later
To run IDL on CentOS 5.5 you will need to first perform the following step
to install the libXp.so.6 library necessary to run IDL:
After performing this step, IDL should run on your system.
-
Fedora 13 and later
To run IDL on Fedora 13 you will need to
first perform the following step to install the libraries necessary to run IDL:
yum install libXp
yum install libXpm |
After performing this step, IDL should run on your system.
-
Ubuntu 10.04 and later
You may experience a segmentation fault when running the License Wizard 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 11.2
No additional libraries need to be installed.
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, mountpoints and devices may vary):
umount /dev/hdc
sudo mount -o ro -t udf /dev/hdc /media |
Proceed with the installation as normal.
4. Related help articles