[ncl-install] /usr/local/lib/libgfortran.3.dylib
Kevin Hallock
hallock at ucar.edu
Thu Jan 18 22:12:26 MST 2018
Yuanfu,
I’m sorry, I should have also asked you to run the command “/usr/local/bin/gfortran --version”. I suspect that you might have gcc/gfortran version 7.1.0 installed, while the Mac binary release of NCL was built with gcc/gfortran 6.3.0. This is important because gcc <=6.x provides libgfortran.3.dylib, while gcc >=7 provides libgfortran.4.dylib.
If your version of gcc/gfortran is 7.1.0, then downloading and installing the gcc 6.3 tarball from this link should fix the libgfortran issue: https://sourceforge.net/projects/hpc/files/hpc/gcc/ <https://sourceforge.net/projects/hpc/files/hpc/gcc/>
If that does not solve the problem, please let us know so we can continue diagnosing the issue.
I hope this helps!
Kevin
> On Jan 18, 2018, at 8:16 PM, Yuanfu Xie <yuanfu_xie at yahoo.com> wrote:
>
> Kevin,
>
> Yes, I did get the similar error message after running ncl -V command.
>
> Here is the output of the command of “ls -l /usr/local/lib/libgfortran.*”
> xieyuanfudeiMac:~ xieyuanfu$ ls -l /usr/local/lib/libgfortran.*
> -rwxr-xr-x 1 root wheel 2088644 Jun 7 2017 /usr/local/lib/libgfortran.4.dylib
> -rw-r--r-- 1 root wheel 10410160 Jun 7 2017 /usr/local/lib/libgfortran.a
> lrwxr-xr-x 1 root wheel 19 Jun 7 2017 /usr/local/lib/libgfortran.dylib -> libgfortran.4.dylib
> -rwxr-xr-x 1 root wheel 989 Jun 7 2017 /usr/local/lib/libgfortran.la
> -rw-r--r-- 1 root wheel 198 Jun 7 2017 /usr/local/lib/libgfortran.spec
>
> Thank you for your help.
>
> Yuanfu
>
>
> On Friday, January 19, 2018 1:35 AM, Kevin Hallock <hallock at ucar.edu> wrote:
>
>
> Hi Yuanfu,
>
> If you run the command “ncl -V”, do you get a similar error message or does it display the version of NCL?
>
> Could you also please try running “ls -l /usr/local/lib/libgfortran.*” and reply with the output?
>
> Thanks,
> Kevin
>
>> On Jan 18, 2018, at 2:48 AM, Yuanfu Xie via ncl-install <ncl-install at ucar.edu <mailto:ncl-install at ucar.edu>> wrote:
>>
>>
>> Greetings.
>>
>> I am trying to install ncl on my Mac (a desktop computer). When I ran test program of "ng4ex xy01n -clean" it shows that
>> dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
>>
>> However, I have dyld: Library not loaded: /usr/local/lib/libgfortran.4.dylib
>> instead. How can I solve this problem? Thanks.
>>
>> Yuanfu
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20180118/525c0037/attachment.html>
More information about the ncl-install
mailing list