As of FLIGHTLAB 3.3, ART’s release structure has changed to support a wider variety of Linux platforms.

Support for CentOS 6 was added in FLIGHTLAB 3.4. Support for CentOS 7 was added after FLIGHTLAB 3.6.2. Note that you must explicitly set the environment variable $FL_PLATFORM to c6x64, c6i386, or c7x64 to use these versions.

FL_MACHTYPE Supported distros C runtime C++ runtime Fortran runtime
c6i386,
c6x64
RHEL 6.*,
CentOS 6.*
gcc 4.4.6,
glibc 2.12
g++ 4.4.6,
libstdc++.so.6
gfortran 4.4.6,
libgfortran.so.3
c7x64 RHEL 7.*,
CentOS 7.*
gcc 4.8.3,
glibc 2.17
g++ 4.8.3,
libstdc++.so.6
gfortran 4.8.3,
libgfortran.so.3
linux,
linux-x86_64
RHEL 5.*,
CentOS 5.*
gcc 4.1.2,
glibc 2.5
g++ 4.1.2,
libstdc++.so.6
gfortran 4.1.2,
libgfortran.so.1
linux-glibc23,
linux-glibc23-x86_64
RHEL 4.*,
CentOS 4.*
gcc 3.4.6,
glibc 2.3.4
g++ 3.4.6,
libstdc++.so.6
g77 3.4.6,
libg2c.so.0
linux-rh8 (i386 only) Red Hat 8,
RHEL 3.*
gcc 3.2,
glibc 2.3.2
g++ 3.2,
libstdc++.so.5
g77 3.2,
libg2c.so.0
linux-glibc22 (i386 only) Red Hat 7.2,
RHEL 2.*
gcc 2.96,
glibc 2.2.4
g++ 2.96 g77 0.5.26

Troubleshooting

The most common problem you are likely to encounter is missing Fortran or C++ libraries.

The symptom will be an error message similar to:

scope: error while loading shared libraries: libgfortran.so.1:
cannot open shared object file: No such file or directory

Fortran is typically not installed by default on most Linuxes, so you or your system administrator may need to install it. It is usually available from the distributor, just not installed by default. Instructions for specific distros below.

RHEL5, CentOS, Fedora, and other yum-based systems

yum install libgfortran.so.1

RHEL 4

up2date --install libgfortran.so.1

OpenSUSE

zypper install libgfortran.so.1

Sometimes it’s a different library that’s missing, but the solution is the same: simply replace libgfortran.so.1 with the library in question.

Newer Linuxes

GNU Fortran and its associated runtime has been updated, and recent Linux distributions include the newer libgfortran.so.3 by default. However, the older libgfortran.so.1 is usually available in a compatibility package. The same solution pertains:

yum install missing.so.#

NOTE: Do not simply copy libgfortran.so.3 to libgfortran.so.1. That will not work. libgfortran.so.3 is not compatible with libgfortran.so.1 – that’s why they changed the version number.

Older FLIGHTLAB releases and libg2c.so.0

FLIGHTLAB version 3.2 and earlier were built with g77 instead of gfortran. G77 libraries are still available for current RHEL versions in the compat-libf2c-34 package. One of the following should work:

  • sudo yum install libg2c.so.0
  • sudo yum install compat-libf2c-34