gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1608 Posts in 532 Topics by 776 Members - Latest Member: evvaletov September 29, 2022, 04:52:56 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Archive  |  Linux Archive  |  Installing Absoft Fortran 11.0 and 11.1 on Linux
gfx
gfxgfx
 

Author Topic: Installing Absoft Fortran 11.0 and 11.1 on Linux  (Read 15619 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 332
Installing Absoft Fortran 11.0 and 11.1 on Linux
« on: June 01, 2010, 08:09:54 AM »
This post addresses  issues encountered when installing Absoft Fortran 95 11.0 and Absoft Pro Fortran 11.1 on various Linux distributions.  It may also be useful for installing earlier Absoft releases on these distributions.

The following Linux distributions are discussed below:

  • RHEL 6.1 32 bit
  • RHEL 6.1 64 bit
  • RHEL 5.x/CentOS 5.x 64 bit
  • Fedora Core 11 32 bit
  • Fedora Core 11 64 bit
  • Fedora Core 12 64 bit
  • Fedora Core 13 64 bit
  • Fedora Core 14 64 bit
  • Fedora Core 15 64 bit
  • Open Suse 11.1 64 bit
  • Open Suse 11.1 32 bit
  • Slackware 13.0 64 bit
  • Ubuntu 9.04 32 bit
  • Ubuntu 9.10 and 10.04 32 bit
  • Ubuntu 9.04 64 bit
  • Ubuntu 9.10 and 10.04 64 bit
  • Ubuntu 11.04 64 bit

RHEL 6.1 32 bit
After performing a Software Development Workstation installation

1) Missing libstdc++.so.5

 Symptoms:

  $ af90 t.f90
    /opt/absoft11.1/bin/af90fe: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory
    f90fe failed.

  $ atools
   /opt/absoft11.1/bin/atools_bin: error while loading shared libraries:
   libstdc++.so.5: cannot open shared object file: No such file or directory

 Fix: Install libstdc++.so.5

  $ sudo yum install compat-libstdc++-33-3.2.3-69.el6.i686


RHEL 6.1 64 bit

1) af90fe64: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

 Symptom:

   $ f90 t.f
   sh: /opt/absoft11.1/bin/af90fe64: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
   f90fe failed.

 Fix: Install 32 bit executable support

   $ sudo yum install compat-libstdc++-33-3.2.3-69.el6.i686
   $ sudo yum install libstdc++-4.4.5-6.el6.i686

2) atmod fails because of missing  * 32 bit *  libstdc++.so.5

  Symptom:
   $ f90 t.f90
    /opt/absoft11.1/bin/atmod: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory
    atmod failed.

   Fix:  install 32 bit libstdc++.so.5

   $ sudo yum install compat-libstdc++-33-3.2.3-69.el6.i686

 3) Fx3 and atools missing 64 bit libstdc++.so.5

 Symptom:

   $ Fx3 a.out
     Fx3: error while loading shared libraries: libstdc++.so.5: cannot open
       shared object file: No such file or directory   

 Fix: install compat-libstdc++-33-3.2.3-69.el6.x86_64

   $ sudo yum install compat-libstdc++-33-3.2.3-69.el6.x86_64



RHEL 5.x/CentOS 5.x 64 bit

1) atmod missing 32 bit libstdc++.so.5

  Symptom:

    $ f90 t.f

       /opt/absoft11.0/bin/atmod: error while loading shared libraries:
        libstdc++.so.5: cannot open shared object file: No such file or directory

  Fix: install compat-libstdc++-33

    $ sudo yum install compat-libstdc++-33

2) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:

     $ Fx3
       Fx3: error while loading shared libraries: libstdc++.so.5:
       cannot open shared object file: No such file or directory

  Fix: install compat-libstdc++-33

    $ sudo yum install compat-libstdc++-33

2) Development tools not installed, missing gcc

   Symptom:

     $ f90 t.f
     sh: gcc: command not found
     link failed.

    Fix: install gcc

     $ sudo yum install gcc

3) Inter-procedure optimization fails, missing g++

   Symptom:
     $ f90 -O4 t.f
     /bin/sh: g++: command not found
      mv: cannot stat `a.out': No such file or directory

    Fix: install g++

     $ sudo yum install gcc-c++


Fedora Core 11 32 bit

1) af90fe missing libstdc++.so.5 (f90fe failed)

  Symptom:
    $ f90 t.f
    /opt/absoft11.0/bin/af90fe: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory
    f90fe failed.

   Fix: install compat-libstdc++-33


Fedora Core 11 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: /lib/ld-linux.so.2:
    bad ELF interpreter: No such file or directory
    f90fe failed.

   Fix: install glibc-2.10.1-2 (i686)

2) atmod missing 32 bit libstdc++.so.5

  Symptom:
    $ f90 t.f
    /opt/absoft11.0/bin/atmod: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory
    atmod failed.

   Fix: install  compat-libstdc++-33-3.2.3-66 (i586)

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      absoft@lol:~$ Fx3
      Fx3: error while loading shared libraries:
      libstdc++.so.5: cannot open shared object file: No such file or directory

   Fix: install compat-libstdc++-33-3.2.3-66 (x86_64)


Fedora Core 12 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: /lib/ld-linux.so.2:
    bad ELF interpreter: No such file or directory
    f90fe failed.

  Fix: install glibc-2.11.1-1.i686

    $ sudo yum install glibc-2.11.1-1.i686

2) atmod missing 32 bit libstdc++.so.5

  Symptom:
     $ f90 t.f
     /opt/absoft11.0/bin/atmod: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     atmod failed.

   Fix: install  ccompat-libstdc++-33-3.2.3-68.i686

     $ sudo yum install compat-libstdc++-33-3.2.3-68.i686

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      absoft@lol:~$ Fx3
      Fx3: error while loading shared libraries:
      libstdc++.so.5: cannot open shared object file: No such file or directory

   Fix: install compat-libstdc++-33-3.2.3-68.x86_64
       
      $ sudo yum install compat-libstdc++-33-3.2.3-68.x86_64

4) Back-end (be) fails cannot enable executable stack

   This appears to be a problem with the 32-bit libstdc++5 library and not
   one of the Absoft shared libraries.

   Symptom:
      $ f90 t.f
      /opt/absoft11.0/bin/be: error while loading shared libraries:
      libstdc++.so.5: cannot enable executable stack as shared object
      requires: Permission denied
      be failed.

   Cause:

      There are copies of libstdc++.so.5 installed in $(ABSOFT)/shlib and
      $(ABSOFT)/shlib64 which do not contain the flag with indicates if a
      shared object requires an executable stack.

    Fix:

      Set the flag indicating an executable stack is not required with
      these two commands:

      $ sudo execstack -c $(ABSOFT)/shlib/libstdc++.so.5
      $ sudo execstack -c $(ABSOFT)/shlib64/libstdc++.so.5

      or remove these files completely.


Fedora Core 13 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: /lib/ld-linux.so.2:
    bad ELF interpreter: No such file or directory
    f90fe failed.

  Fix:  install glibc-2.12-3.i686

    $ sudo yum install libc-2.12-3.i686


2) atmod missing 32 bit libstdc++.so.5

  Symptom:
     $ f90 t.f
     /opt/absoft11.0/bin/atmod: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     atmod failed.

   Fix: install  ccompat-libstdc++-33-3.2.3-68.i686

     $ sudo yum install compat-libstdc++-33-3.2.3-68.i686

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      absoft@lol:~$ Fx3
      Fx3: error while loading shared libraries:
      libstdc++.so.5: cannot open shared object file: No such file or directory

   Fix: install compat-libstdc++-33-3.2.3-68.x86_64
       
      $ sudo yum install compat-libstdc++-33-3.2.3-68.x86_64


Fedora Core 14 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: /lib/ld-linux.so.2:
    bad ELF interpreter: No such file or directory
    f90fe failed.

   Fix:  install glibc-2.12.90-18.i686

    $ sudo yum install glibc-2.12.90-18.i686


2) atmod missing 32 bit libstdc++.so.5

  Symptom:
     $ f90 t.f
     /opt/absoft11.0/bin/atmod: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     atmod failed.

   Fix: install  ccompat-libstdc++-33-3.2.3-68.i686

     $ sudo yum install compat-libstdc++-33-3.2.3-68.i686

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      absoft@lol:~$ Fx3
      Fx3: error while loading shared libraries:
      libstdc++.so.5: cannot open shared object file: No such file or directory

   Fix: install compat-libstdc++-33-3.2.3-68.x86_64
       
      $ sudo yum install compat-libstdc++-33-3.2.3-68.x86_64


Fedora Core 15 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: /lib/ld-linux.so.2:
    bad ELF interpreter: No such file or directory
    f90fe failed.

   Fix:  install glibc-2.14-5.i686

    $ sudo yum install glibc-2.14-5.i686


2) atmod missing 32 bit libstdc++.so.5

  Symptom:
     $ f90 t.f
     /opt/absoft11.0/bin/atmod: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     atmod failed.

   Fix: install  compat-libstdc++-33.i686

     $ sudo yum install compat-libstdc++-33.i686

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      absoft@lol:~$ Fx3
      Fx3: error while loading shared libraries:
      libstdc++.so.5: cannot open shared object file: No such file or directory

   Fix: install compat-libstdc++-33.x86_64
       
      $ sudo yum installcompat-libstdc++-33.x86_64


Open Suse 11.1 64 bit

1) atmod missing 32 bit libstdc++.so.5

   Symptom:
      $ f90 t.f
       /opt/absoft11.0/bin/atmod: error while loading shared libraries:
       libstdc++.so.5: cannot open shared object file: No such file or directory

     Fix: install libstdc++33-32bit

2) Fx3 and atools missing 64 bit libstdc++.so.5

    Symptom:
       $ atools
          atools: error while loading shared libraries: libstdc++.so.5: cannot
          open shared object file: No such file or directory
       $ Fx3
          Fx3: error while loading shared libraries: libstdc++.so.5: cannot
          open shared object file: No such file or directory

     Fix: install libstdc++33

3) Missing libraries for 32 bit development

     Symptom:
       $ f90 -m32 t.f
          /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux
          /bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/..
             /../../libm.so when searching for -lm
          /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux
          /bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/..
             /../../libm.a when searching for -lm

     install gcc43-32bit (or 32 bit parts of other installed gcc version)


Open Suse 11.1 32 bit

1) af90fe missing libstdc++.so.5 (f90fe failed)

  Symptom:
    $ f90 t.f
    /opt/absoft11.0/bin/af90fe: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory
    f90fe failed.

  Fix: install libstdc++5
  Command: use yast to install libstdc++33


Slackware 13.0 64 bit

NOTE: By default, Slackware64 13.0 is a 64 bit only platform and does not have the ability to run *any* 32 bit
executable program.  The download DVD iso does  not  have the 32 bit packages on it. The first step to getting
Absoft  Fortran 11.0 running is to get any 32 bit program to run. Directions on doing this are available here
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib (link valid on 6/1/2010).

There are three requirements which must be met before all of our product will work on Slackware64 13.0:

1) Have to be able to run 32 bit executable programs.

2) Have the 32 bit version of libstdc++.so.5 installed on the system.

3) Have the 64 bit version of libstdc++.so.5 installed on the system.

Following the entire procedure given under "Enabling multilib support on Slackware64" will result in a
system which meets these requirements.

1)  af90fe64 bad ELF interpreter /lib/ld-linux-so.2

   Symptoms:
      $ f90 t.f
       sh: /opt/absoft11.0/bin/af90fe64: No such file or directory

      $ file /opt/absoft11.0/bin/af90fe64
           not a dynamic executable

     Fix: make the system capable of running 32 bit applications.

2) atmod missing 32 bit libstdc++.so.5

    Symptom:
        $ f90 t.f
         /opt/absoft11.0/bin/atmod: error while loading shared libraries:
         libstdc++.so.5: cannot open shared object file: No such file or directory

    Fix: install the 32 bit libstdc++.so.5


2) Fx3 and atools missing 64 bit libstdc++.so.5

    Symptom:
       $ atools
          atools: error while loading shared libraries: libstdc++.so.5: cannot
          open shared object file: No such file or directory
       $ Fx3
          Fx3: error while loading shared libraries: libstdc++.so.5: cannot
          open shared object file: No such file or directory

     Fix: install the 64 bit libstdc++.so.5


Ubuntu 9.04 32 bit

1) af90fe missing libstdc++.so.5 (f90fe failed)

  Symptom:
    $ f90 t.f
     /opt/absoft11.0/bin/af90fe: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     f90fe failed.

  Fix:  install libstdc++5
  Command: sudo apt-get install libstdc++5

Ubuntu 9.10 and 10.04 32 bit

1) af90fe missing libstdc++.so.5 (f90fe failed)
   Fx3 missing libstdc++.so.5
   atools missing libstdc++.so.5

  Symptom:
    $ f90 t.f
     /opt/absoft11.0/bin/af90fe: error while loading shared libraries:
     libstdc++.so.5: cannot open shared object file: No such file or directory
     f90fe failed.
   
    $ Fx3
     Fx3: error while loading shared libraries: libstdc++.so.5:
     cannot open shared object file: No such file or directory

    $ atools
     atools: error while loading shared libraries: libstdc++.so.5:
     cannot open shared object file: No such file or directory

  Fix:  install libstdc++5

Link to the required32 bit libstdc++.so.5 (link valid on 6/1/2010):

http://packages.ubuntu.com/jaunty/i386/libstdc++5/download

If you are using Firefox, you will be prompted if you want to "Open with
GDebi Package Installer"-select OK to continue.  Otherwise, save the deb
package and use your favorite package manager to install.


Ubuntu 9.04 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: not found

   Fix:
      install ia32 libraries package

   Command:
      sudo apt-get install ia32-libs

2) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      $ atools
      atools: error while loading shared libraries: libstdc++.so.5:
              cannot open shared object file: No such file or directory

    Fix:
      install libstdc++5 shared library package

    Command:
       sudo apt-get install libstdc++5

3) Missing libraries for 32 bit development (using -m32)

    Symptom:
      $ f90 -m32 t.f
      /usr/bin/ld: skipping incompatible
        /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libm.so when
        searching for -lm

    Fix:
      install gcc-multilib package

    Command:
       sudo apt-get install gcc-multilib


Ubuntu 9.10 and 10.04 64 bit

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.0/bin/af90fe64: not found

   Fix:
      install ia32 libraries package

   Command:
      sudo apt-get install ia32-libs
 
2) atmod missing libstdc++.so.5 (atmod failed)

  Symptom:
    $ f90 t.f
    /opt/absoft11.0/bin/atmod: error while loading shared libraries:
    libstdc++.so.5: cannot open shared object file: No such file or directory

3) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      $ atools
      atools: error while loading shared libraries: libstdc++.so.5:
              cannot open shared object file: No such file or directory

Fix:

--- Installing libstdc++5.0 support on 64 bit Ubuntu 9.10 and Ubuntu 10.04 ----------

Links to the required packages (valid 10/6/2010):

64 bit libstdc++.so.5:

http://packages.ubuntu.com/jaunty/amd64/libstdc++5/download

32 bit libstdc++.so.5:

http://packages.ubuntu.com/jaunty/i386/libstdc++5/download

Download the libstdc++.so.5 package for "amd64".  If you are using Firefox, you
will be prompted if you want to "Open with GDebi Package Installer"-select OK
to continue.  Otherwise, save the deb package and use your favorite package
manager to install. Install the amd64 libstdc++ deb package.

By default, the 64 bit libstdc++.so.5 library will install in /usr/lib which
is linked to /usr/lib64.

Now, you also will need the 32bit libstdc++.so.5 installed in /usr/lib32.
Unfortunately, the "i386" version of the libstdc++5 package wants to install
in /usr/lib which is your 64 bit library directory and where you just installed
the "amd64" libraries - so you DON'T want to download and install the "i386"
package into the default location.

We'll need to download the "i386" package to a temporary directory, use dpkg
to extract the contents to the temp directory, then manually copy the library
to /usr/lib32 and create the symbolic link.

First, download libstc++5 package for "i386" - save to disk and do NOT launch
a package manger to install it.  Save it in your 'Downloads' folder or /tmp
(or any other scratch directory). Using your root terminal window, cd to the
directory where you have downloaded the .deb package, it should have a name
similar to 'libstdc++5_3.3.6-17ubuntu1_i386.deb'.  The exact version is not
important,  but make sure it is a "i386" deb package.

Extract to the local directory:

   dpkg --extract libstdc++5_3.3.6-17ubuntu1_i386.deb  ./

Notice that a 'usr/' folder was created and the package contents extracted
here.  Now we'll copy the library to /usr/lib32

cd usr/lib
cp libstdc++.so.5.0.7 /usr/lib32
cd /usr/lib32
ln -s libstdc++.so.5.0.7 libstdc++.so.5


Ubuntu 11.04 64 bit

NOTE: In order to add the packages listed below, you will need to have the
"Community-maintained Open Source software (universe)"  repository enabled
on your system.

1) af90fe64 bad ELF interpreter /lib/ld-linux-so.2

  Symptom:
    $ f90 t.f
    sh: /opt/absoft11.1/bin/af90fe64: not found

   Fix:
      install ia32 libraries package

   Command:
      sudo apt-get install ia32-libs


2) Fx3 and atools missing 64 bit libstdc++.so.5

   Symptom:
      $ atools
      atools: error while loading shared libraries: libstdc++.so.5:
              cannot open shared object file: No such file or directory

   Fix:
      install 64 bit libstdc++.so.5

    Command:

      sudo apt-get install libstdc++5
« Last Edit: January 22, 2013, 07:57:13 AM by forumadmin »

Absoft User Forum  |  Archive  |  Linux Archive  |  Installing Absoft Fortran 11.0 and 11.1 on Linux
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!