While working from terminal in conda environment:
gdalinfo filename
Error is:
Gdalinfo: error while loading shared libraries:
libLerc.so.4: cannot open shared object file: No such file or directory
GDAL is installed with conda.
There is no library like that.
On CentOS Linux release 7.9.2009 (Core)
How this problem could be fixed?
UPD: gdalinfo --version
gives the same error.
GDAL version is 3.5.3
.
UPD2: I think the most useful answer is here https://stackoverflow.com/questions/75071381/where-can-i-find-liblerc-so-4-library-for-centos-7/75152579#75152579
find / -name libLerc.so
? I get multiple results (we are using conda-store), so it is definitely installed on my system. It seems that gdal just cannot find the shared library.conda update -n base conda