[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 02:52:18 MDT 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20210615/0f2d335c/attachment.html>
More information about the ncl-install
mailing list