[ncl-install] MacOSX 10.12.6 error: gfortran library not loaded

Kevin Hallock hallock at ucar.edu
Fri Nov 17 12:21:48 MST 2017


Hi,

Could you please run the following commands and reply with the output?
ls -l /usr/local/lib | grep gcc
ls -l /usr/local/lib | grep gfortran
otool -L $(which ncl)

Thanks,
Kevin

> On Nov 17, 2017, at 11:47 AM, Madison Ferrara <madisonferrara93 at gmail.com> wrote:
> 
> Hi - 
> 
> I am running into the following error when trying to launch ncl on Mac OS Sierra version 10.12.6:
>   
>   dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
>     Referenced from: /usr/local/ncl-6.4.0/bin/ncl
>     Reason: image not found
>   Abort trap: 6
> 
> I downloaded the ncl_ncarg-6.4.0-MacOS_10.12_64bit_nodap_gnu530.tar.gz <https://www.earthsystemgrid.org/download/fileDownload.html?logicalFileId=6ab95c30-fa02-11e6-a976-00c0f03d5b7c> precompiled binary. 
> 
> 
> Config info:
> 
> madison$ sw_vers -productVersion
>   10.12.6
> madison$ uname -m
>   x86_64
> madison$ ncl -V
>   dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
>     Referenced from: /usr/local/ncl-6.4.0/bin/ncl
>     Reason: image not found
>   Abort trap: 6
> madison$ otool -L 'which'
>   /Library/Developer/CommandLineTools/usr/bin/objdump: 'which': No such file or directory
> madison$ env | grep NCARG
>   NCARG_ROOT=/usr/local/ncl-6.4.0
> madison$ which gcc
>   /usr/local/bin/gcc
> madison$ which gfortran
>   /usr/local/bin/gfortran
> madison$ gfortran --version
>   GNU Fortran (GCC) 7.1.0
>   Copyright (C) 2017 Free Software Foundation, Inc.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> madison$ gcc --version
>   gcc (GCC) 7.1.0
>   Copyright (C) 2017 Free Software Foundation, Inc.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> Thanks for the help.
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20171117/d3b5999f/attachment-0001.html>


More information about the ncl-install mailing list