[ncl-install] ncl: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
Zipporah Njeri
z.njeri at ksa.go.ke
Tue Jun 15 03:16:32 MDT 2021
I have searched for libgfortran and this is what got
root at ksawrf:/home/ksa# locate libgfortran
/usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.a
/usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.so
/usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.spec
/usr/lib/x86_64-linux-gnu/libgfortran.so.5
/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0
/usr/share/doc/libgfortran-9-dev
/usr/share/doc/libgfortran5
/var/lib/dpkg/info/libgfortran-9-dev:amd64.list
/var/lib/dpkg/info/libgfortran-9-dev:amd64.md5sums
/var/lib/dpkg/info/libgfortran5:amd64.list
/var/lib/dpkg/info/libgfortran5:amd64.md5sums
/var/lib/dpkg/info/libgfortran5:amd64.shlibs
/var/lib/dpkg/info/libgfortran5:amd64.symbols
/var/lib/dpkg/info/libgfortran5:amd64.triggers
----- Original Message -----
From: "Zipporah Njeri" <z.njeri at ksa.go.ke>
To: "ncl-install" <ncl-install at mailman.ucar.edu>
Sent: Tuesday, June 15, 2021 11:52:18 AM
Subject: ncl: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
Hallo, I have been trying to install and run ncl and I keep getting errors.
I am using Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
I installed [ https://www.earthsystemgrid.org/api/v1/dataset/ncl.640.nodap/file/ncl_ncarg-6.4.0-CentOS6.8_64bit_nodap_gnu447.tar.gz | ncl_ncarg-6.4.0-CentOS6.8_64bit_nodap_gnu447.tar.gz ] as instructed in [ http://www.ncl.ucar.edu/Download/ | http://www.ncl.ucar.edu/Download/ ] . I then did try to run the command
ncl util/plotgrids.ncl
I got a response that NCL does not exist and I can install i using sudo apt install ncl_ncarg.
When I tried to test the NCL, i got this error
root at ksawrf:/home/ksa# which ncl
/usr/local/ncl-6.4.0/bin/ncl
root at ksawrf:/home/ksa# ncl -V
ncl: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
root at ksawrf:/home/ksa# sudo apt-file search libgfortran.so.3
root at ksawrf:/home/ksa# locate libgfortran.so.3
[ mailto:root at ksawrf:/home/ksa# | root at ksawrf:/home/ksa# ]
I tried to install ncl 6.2.2 and I got the same error.
I have checked the lib directories in the usr and local directory and I cannot see libgfortran.so.3
so I tried to install it and this is the error I got
ksa at ksawrf:~$ sudo apt-get install libgfortran3
[sudo] password for ksa:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgfortran3
ksa at ksawrf:~$
Please help
More information about the ncl-install
mailing list