This post addresses issues encountered when installing Absoft Pro Fortran 2016 on the latest releases of the 32 Bit Fedora Core, RedHat Enterprise Linux/Scientific Linux/CentOS, Open SuSE, Debian, and Ubuntu Linux distributions.
Fedora Core 23 Workstation 32 bit
A default installation of Fedora Core Workstation 23 32 bit requires the following additional software to fully support Absoft Fortran 2016:
Package Description
------------- -----------------------------------------------------
gcc Support for software development
gcc-c++ Support for software development
libpng12 Graphics library for AbsoftTools and Fx3 Debugger
xterm Terminal program used by AbsoftTools and Fx3 Debugger
Examples below give a possible error messages reported when a package is missing and the yum command to install the package.
1) GCC/G++ and other development tools not installed
Symptom:
$ af90 t.f
sh: as: command not found
assembler failed.
$ af90 t.f
sh: g++: command not found
link failed.
Fix: Install GCC and C++ support
$ sudo dnf install gcc-c++
2) Unable to launch AbsoftTools and Fx3
Symptom:
$ atools
/opt/absoft16.0/bin/atools_bin: error while loading shared libraries: libpng12.so.0:
cannot open shared object file: No such file or directory
$ Fx3
/opt/absoft16.0/bin/Fx3_bin: error while loading shared libraries: libpng12.so.0:
cannot open shared object file: No such file or directory
Fix: Install libpng12 package
$ sudo dnf install libpng12
3) Unable to execute projects inside AbsoftTools
Symptom:
An error dialog appears which reads "Could not start "xterm -name "Absoft Tools"... "
Fix: install xterm program
$ sudo dnf install xterm
RedHat Enterprise Linux 6.7 32 bit
Scientific Linux 6.4
CentOS 6.4
A default Software Development Workstation installation of RedHat Enterprise Linux/Scientific Linux/CentOS 32 bit requires the following additional software to fully support Absoft Fortran 2016:
Package Description
--------------------- -----------------------------------------------------
xterm Terminal program used by AbsoftTools and Fx3 Debugger
Examples below give a possible error messages reported when a package is missing and the yum command to install the package.
1) Unable to execute projects inside AbsoftTools
Symptom:
An error dialog appears which reads "Could not start "xterm -name "Absoft Tools"... "
Fix: install xterm program
$ sudo yum install xterm
Open SuSE 12.2 32 bit
A default installation of 32 bit Open SuSE 12.2 requires the following additional software to fully support Absoft Fortran 2016:
Package Description
---------------------- ---------------------------------------
gcc Support for software development
gcc-c++ Support for software development
libpng12-0 Graphics library used by AbsoftTools and Fx3 Debugger
Examples below give a possible error messages reported when a package is missing and the zypper command to install the package.
1) Compilation fails, as/g++ not found
Symptom:
$ af90 t.f
sh: as: command not found
assembler failed.
$ af90 t.f
sh: g++: command not found
link failed.
Fix: install g++ (along with the rest of the C development tools)
$ sudo zypper install gcc-c++
2) Unable to launch AbsoftTools and Fx3
Symptom:
$ atools
/opt/absoft16.0/bin/atools_bin: error while loading shared libraries:
libpng12.so.0: cannot open shared object file: No such file or directory
$ Fx3
/opt/absoft16.0/bin/Fx3_bin: error while loading shared libraries:
libpng12.so.0: cannot open shared object file: No such file or directory
Fix: Install libpng12-0
$ sudo zypper install libpng12-0
Debian 6.0.6 32 bit
Debian 7.2.0 32 bit
Debian 8.2.0 32 bit
A default installation of 32 bit Debian 6.0.6,7.2.0, or 8.2.0 requires the following additional software to fully support Absoft Fortran 2016:
Package Description
---------------------- ---------------------------------------
gcc Support for software development
g++ Support for software development
Examples below give a possible error messages reported when a package is missing and the apt-get command to install the package.
1) GCC/G++ and other development tools not installed
Symptom:
$ af90 t.f
sh: as: command not found
assembler failed.
$ af90 t.f
sh: g++: command not found
link failed.
Fix: Install GCC and C++ support
$ sudo apt-get install gcc
$ sudo apt-get install g++
Ubuntu 14.04 32 bit
Ubuntu 15.10 32 bit
A default installation of 32 bit Ubuntu 14.04 or 15.10 requires the following additional software to fully support Absoft Fortran 2016:
Package Description
--------------------------- -------------------------------------------
gcc Support for software development
g++ Support for software development
1) Link fails, g++ not found
Symptom:
$ af90 t.f
sh: g++: not found
link failed.
Fix: install g++ (along with other C development tools)
$ sudo apt-get install g++