[ncl-install] ncl 6.4 on osx 10.11.6

Denise Worthen - NOAA Affiliate denise.worthen at noaa.gov
Mon Apr 17 08:01:37 MDT 2017


I've been running 6.3 w/o any problems. I wanted to install 6.4 because of
the ability to add triangle ends to the label bars. I get an error about
libfontconfig version. I've googled around and see that this did seem to be
an issue previously.

I downloaded this version:

ncl_ncarg-6.4.0-MacOS_10.11_64bit_nodap_gnu540.tar.gz

uname -a
Darwin Tobys-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Fri Feb
17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64 x86_64

​I have 5.4 gfortran/gcc compilers installed in /opt/ports/bin which is
first in my PATH. The which command gives the default /usr/local/
locations. I've attached the output from the set of commands at the bottom
of the MacOSX install page.

Any help would be appreciated.
Denise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20170417/a388cc5a/attachment.html 
-------------- next part --------------
which ncl:
/Users/Toby/ncl-6.4.0/bin/ncl

ncl -V:
dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
  Referenced from: /Users/Toby/ncl-6.4.0/bin/ncl
  Reason: Incompatible library version: ncl requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0
./ncl_install.x: line 4:  4410 Trace/BPT trap: 5       ncl -V

otool -L /Users/Toby/ncl-6.4.0/bin/ncl:
/Users/Toby/ncl-6.4.0/bin/ncl:
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
	/opt/X11/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.6.0)
	/opt/X11/lib/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
	/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libgcc/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
	/opt/local/lib/libgcc/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)
	/opt/local/lib/libgcc/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
	/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

env | grep NCARG:
NCARG_ROOT=/Users/Toby/ncl-6.4.0

which gfortran:
/usr/local/bin/gfortran
which gcc:
/usr/local/bin/gcc

gfortran --version
GNU Fortran (MacPorts gcc5 5.4.0_0) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.

gcc --version
gcc-mp-5 (MacPorts gcc5 5.4.0_0) 5.4.0


More information about the ncl-install mailing list