problems after installation with eccodes
Added by Anežka Doležalová over 7 years ago
Hi
I installed CDO with eccodes and this installation didn't get any error. But if I want to use CDO, for example "cdo --help", I get this:
cdo: error while loading shared libraries: libeccodes.so: cannot open shared object file: No such file or directory
Please, can anybody help me? libeccodes.so I have (/home/anezka/Downloads/eccodes-2.8.2-Source/build/lib) and installation was with "--with-eccodes=/home/anezka/Downloads/eccodes-2.8.2-Source/build"
Thanks for reply.
Replies (3)
RE: problems after installation with eccodes - Added by Ralf Mueller over 7 years ago
try
LD_LIBRARY_PATH="/home/anezka/Downloads/eccodes-2.8.2-Source/build/lib:$LD_LIBRARY_PATH" cdo -V
RE: problems after installation with eccodes - Added by Anežka Doležalová over 7 years ago
I get this:
Climate Data Operators version 1.9.4 (http://mpimet.mpg.de/cdo)
System: x86_64-pc-linux-gnu
CXX Compiler: g++ -g -O2 -fopenmp
CXX version : g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0
C Compiler: gcc -g -O2 -fopenmp
C version : gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
F77 Compiler: f77 -g -O2
F77 version : unknown
Features: 7GB C++14 Fortran DATA PTHREADS OpenMP45 SSE2
Libraries:
Filetypes: srv ext ieg grb1 grb2
CDI library version : 1.9.4
CGRIBEX library version : 1.9.0
GRIB_API library version : 2.8.2
EXSE library version : 1.4.0
FILE library version : 1.8.3
Thanks
RE: problems after installation with eccodes - Added by Ralf Mueller over 7 years ago
if you dont have root-access to this system, you can add this line
export LD_LIBRARY_PATH="/home/anezka/Downloads/eccodes-2.8.2-Source/build/lib:$LD_LIBRARY_PATH"to your
~/.bashrc or ~/.zshrc files. in case you use tcsh, it has to look likesetenv LD_LIBRARY_PATH "/home/anezka/Downloads/eccodes-2.8.2-Source/build/lib:$LD_LIBRARY_PATH"and the file might me
~/.tschrc
otherwise you might re-install eccodes to /usr/local - anything installed to that directory will be loaded without extra setup.
hth
ralf