[ncl-install] getting dyld LIbrary not loaded error even after installing latest gcc5 and exporting DYLD_FALLBACK_LIBRARY_PATH
Jatin Kala
jatin.kala.jk at gmail.com
Sun Jan 24 18:38:42 MST 2016
Hi,
I am trying to install ncl on a new mac:
OX X El Capitan, 10.11.3
The pre-compiled binary is:
ncl_ncarg-6.3.0.MacOS_10.10_64bit_nodap_gcc492.tar.gz
ncl -v works:
$ ncl -v
Unknown option `-v'
Copyright (C) 1995-2015 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.3.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
ncl 0>
but the ng4ex command fails, even though i have set
DYLD_FALLBACK_LIBRARY_PATH to gcc5:
$ echo $DYLD_FALLBACK_LIBRARY_PATH
/opt/local/lib/gcc5
$ ls -l /opt/local/lib/gcc5/libgomp.1.dylib
lrwxr-xr-x 1 root admin 37 22 Jan 17:38
/opt/local/lib/gcc5/libgomp.1.dylib -> /opt/local/lib/libgcc/libgomp.1.dylib
$ ng4ex gsun01n -clean
dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /usr/local/ncl-6.3.0/bin/ncargpath
Reason: image not found
Trace/BPT trap
contents of .profile:
$ cat ~/.profile
# MacPorts Installer addition on 2016-01-22_at_14:17:32: adding an
appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5
export NCARG_ROOT=/usr/local/ncl-6.3.0
export PATH=$NCARG_ROOT/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/gfortran/lib/
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
Any ideas?
Cheers,
Jatin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20160125/cf0f9fd5/attachment.html
More information about the ncl-install
mailing list