[ncl-install] Problem with using ncl_stable on mac
Kevin Hallock
hallock at ucar.edu
Mon Sep 16 13:55:33 MDT 2019
Hi Shanshan,
Based on the error message, I think you may need to install XQuartz (X11 window server for Mac): https://www.xquartz.org/ <https://www.xquartz.org/>
I hope this helps!
Kevin
> On Sep 2, 2019, at 3:40 AM, 孙珊珊 via ncl-install <ncl-install at ucar.edu> wrote:
>
> Dear all,
>
>
>
> I have installed ncl_stable on the mac computer by using "
>
> conda create -n ncl_stable -c conda-forge ncl
> source activate ncl_stable" based on http://ncl.ucar.edu/Download/conda.shtml <http://ncl.ucar.edu/Download/conda.shtml>.
>
> However, when typing "conda activate ncl_stable" and "ncl" in the terminal, the error message is "
>
>
>
>
> dyld: Library not loaded: /opt/X11/lib/libcairo.2.dylib
>
>
> Referenced from: /Users/shanshan/anaconda3/envs/ncl_stable/bin/ncl
>
>
> Reason: image not found
>
>
> Abort trap: 6"
>
>
>
>
>
>
>
>
> When typing "conda list -n ncl_stable", the output is "
>
>
>
>
>
> # packages in environment at /Users/shanshan/anaconda3/envs/ncl_stable:
>
>
> #
>
>
> # Name Version Build Channel
>
>
> boost-cpp 1.70.0 h75728bb_2 conda-forge
>
>
> bzip2 1.0.8 h01d97ff_0 conda-forge
>
>
> ca-certificates 2019.6.16 hecc5488_0 conda-forge
>
>
> cairo 1.16.0 he1c11cd_1002 conda-forge
>
>
> cfitsio 3.470 h389770f_2 conda-forge
>
>
> curl 7.65.3 h22ea746_0 conda-forge
>
>
> esmf 7.1.0 h3ab5097_1007 conda-forge
>
>
> expat 2.2.5 h6de7cb9_1003 conda-forge
>
>
> fontconfig 2.13.1 h6b1039f_1001 conda-forge
>
>
> freetype 2.10.0 h24853df_1 conda-forge
>
>
> freexl 1.0.5 h1de35cc_1002 conda-forge
>
>
> geos 3.7.2 h6de7cb9_1 conda-forge
>
>
> geotiff 1.5.1 h2bcb450_3 conda-forge
>
>
> gettext 0.19.8.1 h46ab8bc_1002 conda-forge
>
>
> giflib 5.1.7 h01d97ff_1 conda-forge
>
>
> glib 2.58.3 h9d45998_1002 conda-forge
>
>
> gsl 2.5 ha2d443c_1 conda-forge
>
>
> hdf4 4.2.13 hf3c6af0_1002 conda-forge
>
>
> hdf5 1.10.5 nompi_h0cbb7df_1103 conda-forge
>
>
> hdfeos2 2.20 h207910d_1000 conda-forge
>
>
> hdfeos5 5.1.16 h60f75e3_5 conda-forge
>
>
> icu 64.2 h6de7cb9_1 conda-forge
>
>
> jasper 1.900.1 h636a363_1006 conda-forge
>
>
> jpeg 9c h1de35cc_1001 conda-forge
>
>
> json-c 0.13.1 h1de35cc_1001 conda-forge
>
>
> kealib 1.4.10 h6659575_1005 conda-forge
>
>
> krb5 1.16.3 hcfa6398_1001 conda-forge
>
>
> libblas 3.8.0 12_openblas conda-forge
>
>
> libcblas 3.8.0 12_openblas conda-forge
>
>
> libcurl 7.65.3 h16faf7d_0 conda-forge
>
>
> libcxx 8.0.1 0 conda-forge
>
>
> libcxxabi 8.0.1 0 conda-forge
>
>
> libdap4 3.20.2 hae55d67_1000 conda-forge
>
>
> libedit 3.1.20170329 hcfe32e1_1001 conda-forge
>
>
> libffi 3.2.1 h6de7cb9_1006 conda-forge
>
>
> libgdal 3.0.1 h61e1f9c_8 conda-forge
>
>
> libgfortran 3.0.1 0 conda-forge
>
>
> libiconv 1.15 h01d97ff_1005 conda-forge
>
>
> libkml 1.3.0 hed7d534_1010 conda-forge
>
>
> libnetcdf 4.6.2 h1a02027_1003 conda-forge
>
>
> libopenblas 0.3.7 hd44dcd8_1 conda-forge
>
>
> libpng 1.6.37 h2573ce8_0 conda-forge
>
>
> libpq 11.5 h756f0eb_1 conda-forge
>
>
> libspatialite 4.3.0a hd0a3780_1030 conda-forge
>
>
> libssh2 1.8.2 hcdc9a53_2 conda-forge
>
>
> libtiff 4.0.10 hd08fb8f_1003 conda-forge
>
>
> libxml2 2.9.9 h12c6b28_5 conda-forge
>
>
> llvm-openmp 8.0.1 h770b8ee_0 conda-forge
>
>
> lz4-c 1.8.3 h6de7cb9_1001 conda-forge
>
>
> mpi 1.0 mpich conda-forge
>
>
> mpich 3.2.1 ha90c164_1014 conda-forge
>
>
> ncl 6.6.2 haff234e_8 conda-forge
>
>
> ncurses 6.1 h0a44026_1002 conda-forge
>
>
> netcdf-fortran 4.4.5 hdf19b3b_1004 conda-forge
>
>
> openjpeg 2.3.1 hc1feee7_0 conda-forge
>
>
> openmp 8.0.1 0 conda-forge
>
>
> openssl 1.1.1c h01d97ff_0 conda-forge
>
>
> pcre 8.41 h0a44026_1003 conda-forge
>
>
> pixman 0.38.0 h01d97ff_1003 conda-forge
>
>
> poppler 0.67.0 hd5eb092_7 conda-forge
>
>
> poppler-data 0.4.9 1 conda-forge
>
>
> postgresql 11.5 h25afefd_1 conda-forge
>
>
> proj4 6.1.1 hca663eb_1 conda-forge
>
>
> readline 8.0 hcfe32e1_0 conda-forge
>
>
> sqlite 3.29.0 hb7d70f7_1 conda-forge
>
>
> tbb 2018.0.5 h2d50403_0 conda-forge
>
>
> tiledb 1.6.2 h4f44bfb_1 conda-forge
>
>
> tk 8.6.9 h2573ce8_1002 conda-forge
>
>
> tzcode 2019a h01d97ff_1002 conda-forge
>
>
> udunits2 2.2.27.6 h776b7f1_1001 conda-forge
>
>
> xerces-c 3.2.2 hbda6038_1004 conda-forge
>
>
> xz 5.2.4 h1de35cc_1001 conda-forge
>
>
> zlib 1.2.11 h01d97ff_1005 conda-forge
>
>
> zstd 1.4.0 ha9f0a20_0 conda-forge"
>
>
>
>
>
>
>
>
> When typing " conda --version", the output is " conda 4.7.11"
>
>
>
>
>
> When typing "which ncl", the output is "/Users/shanshan/anaconda3/envs/ncl_stable/bin/ncl"
>
>
>
>
>
> When typing "ncl -V", the output is "
>
>
>
>
> dyld: Library not loaded: /opt/X11/lib/libcairo.2.dylib
>
>
> Referenced from: /Users/shanshan/anaconda3/envs/ncl_stable/bin/ncl
>
>
> Reason: image not found
>
>
> Abort trap: 6"
>
>
>
>
>
> When typing "env | grep NCARG", the output is " NCARG_ROOT=/Users/shanshan/anaconda3/envs/ncl_stable".
>
>
>
>
>
> Please let me know if more information is needed for you to tackle this problem.
>
>
>
>
>
>
>
>
>
>
> Regards,
>
>
> Shanshan
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20190916/5359fd65/attachment-0001.html>
More information about the ncl-install
mailing list