<div dir="ltr"><div>Hi, <br></div><div><br></div><div>This is hard to diagnose, and I don't really have useful advice for you. I'm presuming you are on a linux machine. I tried a fresh install on my linux box, with "conda create -n ncl_stable -c conda-forge ncl". That library libgsl.*.so is definitely part of the installation, under ~/miniconda3/envs/ncl_stable/lib. The resultant ncl works just fine -- I don't get unresolved library issues.  Same with my Mac. Wish I had something more useful to tell you...</div><div><br></div><div>Rick</div><div><br></div><div><br></div><div> <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 10:58 PM Anie K Lal via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
I am facing a issue with ncl installation. Please see the forwaded mail <br>
below. Kindly help.<br>
<br>
-------- Original Message --------<br>
Subject: libgsl.so.25: cannot open shared object file<br>
Date: 13.08.2022 11:48<br>
 From: Anie K Lal <<a href="mailto:Anieklal@cas.iitd.ac.in" target="_blank">Anieklal@cas.iitd.ac.in</a>><br>
To: <a href="mailto:ncl-install@mailman.ucar.edu" target="_blank">ncl-install@mailman.ucar.edu</a><br>
<br>
Hi all<br>
<br>
I am trying to install ncl under conda environment. I had anaconda <br>
already installed in my system. I tried installing ncl using:<br>
"conda create -n ncl_stable -c conda-forge ncl"<br>
<br>
But while running ncl script I am getting the following error:<br>
<br>
"ncl: error while loading shared libraries: libgsl.so.25: cannot open <br>
shared object file: No such file or directory"<br>
<br>
Kindly find the following information regarding my installation:<br>
<br>
# packages in environment at /home/anaconda3/envs/ncl_stable:<br>
#<br>
# Name                    Version                   Build  Channel<br>
_libgcc_mutex             0.1                 conda_forge    conda-forge<br>
_openmp_mutex             4.5                       2_gnu    conda-forge<br>
blosc                     1.21.1               h83bc5f7_3    conda-forge<br>
boost-cpp                 1.74.0               h75c5d50_8    conda-forge<br>
bzip2                     1.0.8                h7f98852_4    conda-forge<br>
c-ares                    1.18.1               h7f98852_0    conda-forge<br>
ca-certificates           2022.07.19           h06a4308_0<br>
cairo                     1.16.0            ha61ee94_1012    conda-forge<br>
cfitsio                   4.1.0                hd9d235c_0    conda-forge<br>
curl                      7.84.0               h5eee18b_0<br>
esmf                      8.2.0           nompi_h1ee4d8d_2    <br>
conda-forge<br>
expat                     2.4.8                h27087fc_0    conda-forge<br>
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge<br>
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge<br>
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge<br>
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge<br>
fontconfig                2.14.0               h8e229c2_0    conda-forge<br>
fonts-conda-ecosystem     1                             0    conda-forge<br>
fonts-conda-forge         1                             0    conda-forge<br>
freeglut                  3.2.2                h9c3ff4c_1    conda-forge<br>
freetype                  2.11.0               h70c0345_0<br>
freexl                    1.0.6                h7f98852_0    conda-forge<br>
geos                      3.11.0               h27087fc_0    conda-forge<br>
geotiff                   1.7.1                h4fc65e6_3    conda-forge<br>
gettext                   0.21.0               hf68c758_0<br>
giflib                    5.2.1                h36c2ea0_2    conda-forge<br>
gsl                       2.7.1                h6e86dc7_1<br>
hdf4                      4.2.15               h9772cbc_4    conda-forge<br>
hdf5                      1.12.2          nompi_h2386368_100    <br>
conda-forge<br>
hdfeos2                   2.20              hca1e490_1001    conda-forge<br>
hdfeos5                   5.1.16              hc2f950b_10    conda-forge<br>
icu                       70.1                 h27087fc_0    conda-forge<br>
jasper                    2.0.33               ha77e612_0    conda-forge<br>
jpeg                      9e                   h166bdaf_2    conda-forge<br>
json-c                    0.16                 hc379101_0    conda-forge<br>
kealib                    1.4.15               ha7026e8_1    conda-forge<br>
keyutils                  1.6.1                h166bdaf_0    conda-forge<br>
krb5                      1.19.3               h3790be6_0    conda-forge<br>
lcms2                     2.12                 hddcbb42_0    conda-forge<br>
lerc                      4.0.0                h27087fc_0    conda-forge<br>
libblas                   3.9.0           16_linux64_openblas    <br>
conda-forge<br>
libcblas                  3.9.0           16_linux64_openblas    <br>
conda-forge<br>
libcurl                   7.84.0               h91b91d3_0<br>
libdap4                   3.20.6               hd7c4107_2    conda-forge<br>
libdeflate                1.13                 h166bdaf_0    conda-forge<br>
libedit                   3.1.20210910         h7f8727e_0<br>
libev                     4.33                 h516909a_1    conda-forge<br>
libffi                    3.4.2                h7f98852_5    conda-forge<br>
libgcc-ng                 12.1.0              h8d9b700_16    conda-forge<br>
libgdal                   3.5.1                h53011df_2    conda-forge<br>
libgfortran-ng            12.1.0              h69a702a_16    conda-forge<br>
libgfortran5              12.1.0              hdcd56e2_16    conda-forge<br>
libglib                   2.72.1               h2d90d5f_0    conda-forge<br>
libglu                    9.0.0             he1b5a44_1001    conda-forge<br>
libgomp                   12.1.0              h8d9b700_16    conda-forge<br>
libiconv                  1.16                 h516909a_0    conda-forge<br>
libkml                    1.3.0             h238a007_1014    conda-forge<br>
libnetcdf                 4.8.1           nompi_h21705cb_104    <br>
conda-forge<br>
libnghttp2                1.47.0               h727a467_0    conda-forge<br>
libnsl                    2.0.0                h7f98852_0    conda-forge<br>
libopenblas               0.3.21          pthreads_h78a6416_0    <br>
conda-forge<br>
libpng                    1.6.37               h753d276_4    conda-forge<br>
libpq                     14.5                 hd77ab85_0    conda-forge<br>
librttopo                 1.1.0               hf730bdb_11    conda-forge<br>
libspatialite             5.0.1               h38b5f51_18    conda-forge<br>
libsqlite                 3.39.2               h753d276_1    conda-forge<br>
libssh2                   1.10.0               haa6b8db_3    conda-forge<br>
libstdcxx-ng              12.1.0              ha89aaad_16    conda-forge<br>
libtiff                   4.4.0                h0e0dad5_3    conda-forge<br>
libuuid                   2.32.1            h7f98852_1000    conda-forge<br>
libwebp-base              1.2.4                h166bdaf_0    conda-forge<br>
libxcb                    1.13              h7f98852_1004    conda-forge<br>
libxml2                   2.9.14               h22db469_4    conda-forge<br>
libzip                    1.9.2                hc869a4a_1    conda-forge<br>
libzlib                   1.2.12               h166bdaf_2    conda-forge<br>
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge<br>
ncl                       6.6.2               hfc90af8_40    conda-forge<br>
ncurses                   6.3                  h27087fc_1    conda-forge<br>
netcdf-fortran            4.6.0           nompi_hc402ea5_100    <br>
conda-forge<br>
nspr                      4.33                 h295c915_0<br>
nss                       3.78                 h2350873_0    conda-forge<br>
openjpeg                  2.4.0                hb52868f_1    conda-forge<br>
openssl                   1.1.1q               h166bdaf_0    conda-forge<br>
pcre                      8.45                 h9c3ff4c_0    conda-forge<br>
pixman                    0.40.0               h36c2ea0_0    conda-forge<br>
poppler                   22.04.0              h1434ded_1    conda-forge<br>
poppler-data              0.4.11               hd8ed1ab_0    conda-forge<br>
postgresql                14.5                 hfdbbde3_0    conda-forge<br>
proj                      9.0.1                h93bde94_1    conda-forge<br>
pthread-stubs             0.4               h36c2ea0_1001    conda-forge<br>
readline                  8.1.2                h0f457ee_0    conda-forge<br>
snappy                    1.1.9                hbd366e4_1    conda-forge<br>
sqlite                    3.39.2               h4ff8645_1    conda-forge<br>
tiledb                    2.9.5                h1e4a385_0    conda-forge<br>
tzcode                    2022b                h166bdaf_0    conda-forge<br>
tzdata                    2022b                h191b570_0    conda-forge<br>
udunits2                  2.2.28               hc3e0081_0    conda-forge<br>
xerces-c                  3.2.3                h55805fa_5    conda-forge<br>
xorg-fixesproto           5.0               h7f98852_1002    conda-forge<br>
xorg-imake                1.0.7                         0    conda-forge<br>
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge<br>
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge<br>
xorg-libice               1.0.10               h7f98852_0    conda-forge<br>
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge<br>
xorg-libx11               1.7.2                h7f98852_0    conda-forge<br>
xorg-libxau               1.0.9                h7f98852_0    conda-forge<br>
xorg-libxaw               1.0.14               h7f98852_1    conda-forge<br>
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge<br>
xorg-libxext              1.3.4                h7f98852_1    conda-forge<br>
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge<br>
xorg-libxi                1.7.10               h7f98852_0    conda-forge<br>
xorg-libxmu               1.1.3                h7f98852_0    conda-forge<br>
xorg-libxpm               3.5.13               h7f98852_0    conda-forge<br>
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge<br>
xorg-libxt                1.2.1                h7f98852_2    conda-forge<br>
xorg-makedepend           1.0.6                h27087fc_2    conda-forge<br>
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge<br>
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge<br>
xorg-xproto               7.0.31            h7f98852_1007    conda-forge<br>
xz                        5.2.6                h166bdaf_0    conda-forge<br>
zlib                      1.2.12               h166bdaf_2    conda-forge<br>
zstd                      1.5.2                h8a70e8d_4    conda-forge<br>
<br>
## conda --version<br>
conda 4.13.0<br>
<br>
## which ncl<br>
/home/anaconda3/envs/ncl_stable/bin/ncl<br>
<br>
## ncl -V<br>
ncl: error while loading shared libraries: libgsl.so.25: cannot open <br>
shared object file: No such file or directory<br>
<br>
## env  | grep NCARG<br>
NCARG_ROOT=/home/anaconda3/envs/ncl_stable<br>
<br>
****************************************************************<br>
<br>
I have tried the following:<br>
<br>
1. Tried installing GSL using conda "conda install -c conda-forge gsl " <br>
. But it didn't work, showing the same error.<br>
<br>
2. Uninstalled, then reinstalled NCL using conda. Didn't work.<br>
<br>
3. Tried using miniconda instead of anaconda... It also didn't work. <br>
Same error persists.<br>
<br>
NOTE: I was using ncl smoothly in the same system under conda <br>
environment earlier. This problem started after a re installation of <br>
conda.<br>
<br>
Kindly help me with this issue since I am struggling with this for some <br>
time now.<br>
<br>
Looking forward to any kind of help and advice.<br>
<br>
Thank you<br>
Anie<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>