[ncl-talk] Fwd: libgsl.so.25: cannot open shared object file

Rick Brownrigg brownrig at ucar.edu
Sun Nov 13 21:53:31 MST 2022


Hi,

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...

Rick






On Fri, Nov 11, 2022 at 10:58 PM Anie K Lal via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

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


More information about the ncl-talk mailing list