[ncl-install] ncl install problem

Mary Haley haley at ucar.edu
Sun Jul 12 09:38:53 MDT 2015


Your gfortran is install in somewhat of a non-standard location, so the ncl
binary doesn't know where to find it.

Please go back to the same URL I included before, but to this section:

http://www.ncl.ucar.edu/Download/macosx.shtml#emutls_get_address

and search for DYLD_FALLBACK_LIBRARY_PATH. I believe you need to set this
to /opt/local/lib/gcc49

--Mary

On Sun, Jul 12, 2015 at 1:47 AM, Yunfang Sun <yfsun at mit.edu> wrote:

> Hi Mary,
>
> Thank you very much! The information in my system is as follows:
>
> gfortran --version:
> GNU Fortran (GCC) 4.9.2
> Copyright (C) 2014 Free Software Foundation, Inc.
>
> which gfortran
> /usr/local/bin/gfortran
>
> find libgfortran.3.dylib
> find: libgfortran.3.dylib: No such file or directory
>
> locate libgfortran.3.dylib
> /Applications/MATLAB_R2015a.app/sys/os/maci64/libgfortran.3.dylib
> /opt/local/lib/gcc48/libgfortran.3.dylib
> /opt/local/lib/gcc49/libgfortran.3.dylib
> /opt/local/lib/libgcc/libgfortran.3.dylib
> /usr/local/gfortran/lib/i386/libgfortran.3.dylib
> /usr/local/gfortran/lib/libgfortran.3.dylib
>
>
> Best,
>
> Yunfang
>
> On Sun, Jul 12, 2015 at 10:45 AM, Mary Haley <haley at ucar.edu> wrote:
>
>> Yunfang,
>>
>> Either you have a gfortran than is much older or much newer than what
>> this binary was built with (V4.9.2), or else your gfortran is installed in
>> a non-standard location and NCL can't find the libgfortran.3.dylib file.
>>
>> What does the following report on your system:
>>
>> gfortran --version
>> which gfortran
>> find libgfortran.3.dylib
>> locate libgfortran.3.dylib
>>
>> If it looks like gfortran doesn't reside on your system, then please read
>> these notes about MacOS and gfortran:
>>
>> http://www.ncl.ucar.edu/Download/macosx.shtml#InstallCompilers
>>
>> --Mary
>>
>>
>>
>> On Fri, Jul 10, 2015 at 9:42 PM, Yunfang Sun <yfsun at mit.edu> wrote:
>>
>>> Hi all,
>>>
>>> I have downloaded the NCL Version 6.3.0 precompiled
>>> binaries, OPeNDAP-enabled package, file name
>>> is ncl_ncarg-6.3.0.MacOS_10.10_64bit_gcc492.tar.gz.
>>>
>>> After extraction and set the path, I am going to test ncl, and get the
>>> following message :
>>>
>>> $ ncl
>>> dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
>>>   Referenced from: /Users/file/software/bin/ncl
>>>   Reason: image not found
>>> Trace/BPT trap: 5
>>>
>>> Could anybody give me a hint to solve this problem?
>>>
>>> Thank you!
>>>
>>> Regards,
>>>
>>> Yunfang
>>>
>>> _______________________________________________
>>> 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/20150712/4095ea89/attachment-0001.html 


More information about the ncl-install mailing list