X
93 Rate this article:
No rating

INTERNAL: Errors when Installing/Running ENVI / IDL on Fedora 12 (64bit)

Anonym
Topic:

Users may experience error messages when attempting to install or run ENVI / IDL on systems running 64bit Fedora 12. In order for ENVI / IDL to install and function correctly, users will need to install certain dependent libraries on their systems in order for the software to function properly. In addition, the IDL Workbench (7.1.2 and earlier) will require certain 32bit libraries be installed in order to function.

This Help Article applies to ENVI version 4.7 and IDL 7.1. Many of the steps here will be applicable to other versions of IDL as well.

**Note: Fedora 12 and other current Linux distributions including Ubuntu 9.10 and OpenSUSE 11.2 are built with the gtk2 library version 2.18 installed by default. The Eclipse development environment, upon which the IDL 7.x Workbench is based, has a known incompatibility with gtk2 2.18.x versions. This affects only the IDL Workbench, but it does *not* affect command line IDL, or ENVI.

For more information see Help Article # 4562

Discussion:

This document is designed to provide the necessary steps to install and run ENVI and IDL on a 64bit Fedora 12 system. Common errors are listed below in section A. To resolve these issues and ensure that ENVI and/or IDL can install and function properly, follow the steps listed in sections B-D.

A. Common Errors



During installation, you may experience errors such as these:

  1. Attempting to execute install_unix.sh from the installation DVD.
    ./install_unix.sh: /media/ENVI47/unix/xinstall.sh: /bin/sh: bad interpreter: Permission denied


  2. Immediately after Attempting to execute install_unix.sh from the installation DVD.
    ./xinstall: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory


  3. "post_unpack" error during the installation.
    The Script /usr/local/itt/idl71/bin/post_unpack was not found.
    There may be errors setting up the product environment.

After installation, you may experience additional errors such as these:

  1. On launch of IDL.
    /usr/local/itt/idl71/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory


  2. IDL Workbench (idlde) may not launch, with or without an error message.

B. Dependent Libraries


You will need to install certain dependant libraries and their dependencies. Issue these commands (or their equivalent) to install the needed libraries:

yum install tcsh
yum install libXp libXp.i686
yum install libXpm libXpm.i686
yum install libXmu libXmu.i686
yum install glibc.i686
yum install libz.so.1
yum install libgcc.i686
yum install libstdc++.i686
yum install libXrender
yum install fontconfig-devel



Next find out what version of gtk2 you have installed:
rpm -q gtk2


It will likely print something like this:
gtk2-2.18.3-19.fc12.x86_64


Then install the 32bit version of that same package, making sure to use the same version number:
yum install gtk2-2.18.3-19.fc12.i686
yum install libpk-gtk-module.so
yum install libcanberra-gtk2.i686




C. gtk2 2.18.x incompatibility


The IDL Workbench is built on the Eclipse development environment platform. Eclipse has a known incompatibility with gtk2 2.18.x versions. For more information, see Tech Tip # 4562.
For the time being for IDL 7.x versions, you will have to set this environment variable to allow IDL to function:

export GDK_NATIVE_WINDOWS=true


This is a workaround which will be necessary for all 7.x versions of the IDL Workbench. You may still experience some issues. Some errors will be printed to the terminal, and some GUI elements may not function entirely.

D. Install ENVI / IDL


  1. If You experience the first error message listed in section A when attempting to install from the installation DVD, "bad interpreter: Permission denied", perform the following steps to mount the DVD with the correct permissions:
    cd /media
    sudo mkdir mydvd
    sudo umount /dev/hdc
    sudo mount -o ro -t udf /dev/hdc /media/mydvd
    cd /media/mydvd
    sudo sh ./install_unix.sh

  2. Follow the installation instructions provided with your installation DVD or on our website via the Product Download section.
  3. For difficulties during the installation process, email support@exelisvis.com or call (303)413-3920 and a Technical Support representative will help you resolve your issues.