[ncl-install] ncl -V error: dyld: Library not loaded: @rpath/libstdc++.6.dylib

Little, Matthew Benjamin littlema18 at students.ecu.edu
Wed Oct 24 11:27:15 MDT 2018


Hello NCL install group,

I am currently trying to install NCL on MacOS.  I initially was using clang, however, I encountered installation problems with clang I switched to gcc.  Nevertheless, the problem that I saw when using clang persists when I issue the command:

$ ncl -V

dyld: Library not loaded: @rpath/libstdc++.6.dylib

  Referenced from: /Users/littlema18/miniconda2/envs/ncl_stable/bin/ncl

  Reason: image not found

Abort trap: 6

This seems to be a common problem from what I can tell, but I feel I have hit a wall with my limited knowledge.  Below are



$ sw_vers -productVersion

10.13.3

which gcc

/usr/local/bin/gcc

$ which gfortran

/usr/local/bin/gfortran

$ gcc --version

gcc (GCC) 8.1.0

Copyright (C) 2018 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.

$ gfortran --version

GNU Fortran (GCC) 8.1.0

Copyright (C) 2018 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.

$ env | grep NCARG

OLD_NCARG_ROOT=/usr/local/ncl-current

NCARG_ROOT=/Users/littlema18/miniconda2/envs/ncl_stable

$ env | grep LD

OLD_NCARG_ROOT=/usr/local/ncl-current

$ which ncl

/Users/littlema18/miniconda2/envs/ncl_stable/bin/ncl

$ otool -L `which ncl`

/Users/littlema18/miniconda2/envs/ncl_stable/bin/ncl:

       /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0)

       @rpath/libnetcdf.13.dylib (compatibility version 13.0.0, current version 13.0.0)

       @rpath/libcurl.4.dylib (compatibility version 10.0.0, current version 10.0.0)

       @rpath/libhdf5_hl.100.dylib (compatibility version 102.0.0, current version 102.1.0)

       @rpath/libhdf5.103.dylib (compatibility version 104.0.0, current version 104.0.0)

       @rpath/libmfhdf.0.dylib (compatibility version 1.0.0, current version 1.0.0)

       @rpath/libdf.0.dylib (compatibility version 1.0.0, current version 1.0.0)

       @rpath/libjpeg.9.dylib (compatibility version 13.0.0, current version 13.0.0)

       @rpath/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)

       @rpath/libgdal.20.dylib (compatibility version 24.0.0, current version 24.3.0)

       @rpath/libproj.12.dylib (compatibility version 13.0.0, current version 13.0.0)

       @rpath/libudunits2.0.dylib (compatibility version 2.0.0, current version 2.0.0)

       @rpath/libexpat.1.dylib (compatibility version 8.0.0, current version 8.7.0)

       @rpath/libjasper.1.dylib (compatibility version 2.0.0, current version 2.0.0)

       @rpath/libpng16.16.dylib (compatibility version 51.0.0, current version 51.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)

       /opt/X11/lib/libpixman-1.0.dylib (compatibility version 35.0.0, current version 35.0.0)

       /opt/X11/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.6.0)

       /opt/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)

       @rpath/libiconv.2.dylib (compatibility version 9.0.0, current version 9.0.0)

       @rpath/libbz2.dylib (compatibility version 0.0.0, current version 0.0.0)

       @rpath/libgsl.19.dylib (compatibility version 22.0.0, current version 22.0.0)

       @rpath/libopenblas.dylib (compatibility version 0.0.0, current version 0.0.0)

       /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)

       @rpath/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)

       @rpath/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)

       @rpath/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.19.0)

       @rpath/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 1238.60.2)

       @rpath/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)


Thanks for any advice,


Matthew B. Little
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20181024/77649143/attachment-0001.html>


More information about the ncl-install mailing list